Reputation: 31237
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes
A few times I have noticed that the debugger does not start in Visual Studio. Anyone know any fix to this?
Upvotes: 1
Views: 667
Reputation: 419
Do you have a launch.json
file? It should be at .vscode/launch.json
With the following format:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}/myscript.js"
}
]
}
You can find more information here: https://code.visualstudio.com/Docs/editor/debugging
Upvotes: 1