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
Does this issue occur when all extensions are disabled?: No
VS Code Version: 1.67.1
OS Version: macOS 12.3.1 arm64
Steps to Reproduce:
Open some Node.js project.
Add a launch configuration by using the "Add configuration..." floating button when launch.json is opened.
Add a launch configuration by opening the quick pick (Ctrl/Cmd+P), typing "debug", selecting "Node.js...", and clicking with the mouse on the cogwheel in one of the suggested configurations.
The configuration added by "Add configuration..." uses "type": "node", while the one added by the debug quick pick uses "type": "node-terminal".
I couldn't find clear docs showing the difference between them or when you should use one or the other, and I find it weird that those two flows produce inconsistent results.
There is also the "pwa-node" (And possibly "pwa-node-terminal"?) debug/launch types which I'm also not sure if should be used or not, and I couldn't find any docs for them either.
The text was updated successfully, but these errors were encountered:
node-terminal is used when running a program in a "javascript debug terminal" that automatically attaches to any node program. node is what you would use in a launch.json. pwa- prefixed types are sort of a historical leftover from the old node debugger implementation that we had a few years ago. pwa-node is now the same as node by default. cc @connor4312
Does this issue occur when all extensions are disabled?: No
Steps to Reproduce:
Open some Node.js project.
Add a launch configuration by using the "Add configuration..." floating button when
launch.json
is opened.Add a launch configuration by opening the quick pick (
Ctrl/Cmd+P
), typing "debug", selecting "Node.js...", and clicking with the mouse on the cogwheel in one of the suggested configurations.The configuration added by "Add configuration..." uses
"type": "node"
, while the one added by the debug quick pick uses"type": "node-terminal"
.I couldn't find clear docs showing the difference between them or when you should use one or the other, and I find it weird that those two flows produce inconsistent results.
There is also the "pwa-node" (And possibly "pwa-node-terminal"?) debug/launch types which I'm also not sure if should be used or not, and I couldn't find any docs for them either.
The text was updated successfully, but these errors were encountered: