Sunday 20 January 2019

Could someone explain how DEBUGGING "attach by process ID" and "launch" works?

Hi all,I am debugging nodejs with vscode and see the options to debug "attach by process ID" and "launch". When I have a simple nodejs script, setting the breakpoint on vscode prior to starting the script seems to work but in a sophisticated nodejs project with npm script - I have to debug by "attach by process ID". I don't understand what happens under the hood. Could someone please explain this in layman's terms?Side note: I have a Linux background and understand how processes work at a high-level.debug: https://www.youtube.com/watch?v=2oFKNL7vYV8​

Submitted January 20, 2019 at 11:56AM by git_world

No comments:

Post a Comment