You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeeded
neilyoung do you reproduce this for any node js server. Can you please provide a workspace for which you see this so we can try reproducing it on our end.
Maybe this helps: Usually once I hit debug VSCode asks me to create a launch configuration. Not in this case. Basically I can start debugging w/o any launch.json. The debugger starts, but if I restart the a.m. error appears.
I was creating a launch.json now from the menu. The file created contains a wrong entry:
neilyoung great finding! I am able to reproduce it, will fix it today so you can check tomorrow's insiders for improvments.
As for the corrupeted launch.json - I can reproduce this behavior and have created an issue #18723
You can start debugging w/o having a launch.json becaue we are trying to simplify starting of a debug session for users. More about it can be found here #285
bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeeded
Activity
isidorn commentedon Jan 18, 2017
Can not reproduce. I tried running our vscode smoke test sample https://github.com/Microsoft/vscode-smoketest-express and hitting restart, everything works fine.
neilyoung do you reproduce this for any node js server. Can you please provide a workspace for which you see this so we can try reproducing it on our end.
neilyoung commentedon Jan 18, 2017
Maybe this helps: Usually once I hit debug VSCode asks me to create a launch configuration. Not in this case. Basically I can start debugging w/o any launch.json. The debugger starts, but if I restart the a.m. error appears.
I was creating a launch.json now from the menu. The file created contains a wrong entry:
"program": "${workspaceRoot}/${workspaceRoot}/index.js",Note the double workspaceRoot
Once I remove that, I can restart w/o any problem.
For me there are two new issues now, whereas the initial problem is gone:
isidorn commentedon Jan 18, 2017
neilyoung great finding! I am able to reproduce it, will fix it today so you can check tomorrow's insiders for improvments.
As for the corrupeted launch.json - I can reproduce this behavior and have created an issue #18723
You can start debugging w/o having a launch.json becaue we are trying to simplify starting of a debug session for users. More about it can be found here #285
isidorn commentedon Jan 18, 2017
To verify:
neilyoung commentedon Jan 18, 2017
Cool :)
debug: process keep a reference to configuration