The procedure falls into two parts: first we start an application as usual and then connect to it with the debugger. Set the breakpoints in the Node.js code, where necessary. At least one breakpoint is necessary otherwise the program will be just exe…