node.jsidevisual-studio-code

Disable node.js app debugging in Visual Studio Code (vscode)


I am working on this node.js application using Visual Studio Code IDE. Everytime I run this application, it is attaching a debugger (which takes around 2-5 seconds) and then executing the application.

So, my issue is everytime if I modify some code (or a simple variable name) and execute the program, it takes this much time to see the output even though I haven't set any breakpoints.

Need help in disabling the debugger in Visual Studio Code IDE for node applications development. I can't find anything helpful on net :( .


Solution

  • There is workbench.action.debug.run which is bound to cmd+f5 / ctrl+f5 by default.

    You can find it in the command palette under the name "Debug: Start without Debugging"