mathworks / mathworks/MATLAB-extension-for-vscode
Debugging only working when startDebuggerAutomatically is true
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 435
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
VS Code drops into debugging mode only when the setting "startDebuggerAutomatically" is true.
To Reproduce
Steps to reproduce the behavior:
-
set startDebuggerAutomatically false
-
create matlab file and add a breakpoint
-
press "Run and Debug"
-
file is not debugged, no stopping at breakpoint
-
set startDebuggerAutomatically true
-
run the file
-
debugging works
Expected behavior
Debugging should also work when startDebuggerAutomatically is false.
Useful Information
- OS Version: Windows
- VS Code Version: 1.97.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in VS Code with startDebuggerAutomatically set to false, a MATLAB file, and a breakpoint, then compare the Run and Debug flow with the setting enabled. Trace how the extension handles the setting and the Run and Debug entry point; done means debugging stops at the breakpoint in both configurations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- matlab, typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100