-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node scripts don't run first time with integratedTerminal #318
Comments
For the record, I followed the instructions thus:
|
This is because you use nvm, which runs an npm command to get configuration when the terminal opens. The debugger right now doesn't know that npm is not what we actually want to debug--so it treats it as the main target, and then after it disconnects (i.e. the session is over) just kills everything else. Had an issue on vscode core for this but it looks like I forgot to transfer it over--thanks for the report! |
You bet. Is there any information I can provide to help or is this pretty easy for you to recreate? |
It's easy to recreate, thank you though :) |
Fixed with microsoft/vscode@6a04aa0, should be good to go in the next Insiders build. Testers: with pwa-node, have |
Following this issue: microsoft/vscode#90251, I installed the new debugger.
It solved the problem in the original issue, but brought along its own.
I have the following configuration:
When I start it from the "Run and Debug" panel, it opens a terminal and I get the following output:
I ran
echo $?
and got an rc of143
If I then try to run it again, everything works as I would expect it to...
The text was updated successfully, but these errors were encountered: