Vscode node debugger Settings, see. Vscode

You can select which debugger configuration is used for vscode debugger

When commenting on the configuration code in launch.json like the following, vscode’s debugger prompts you to customize the launch and debug creation of the launch.json file

If you open the comment in launch.json, vscode’s debugger will display the debuggerr options in the configuration, such as Debug Main Process

Create your own VS Code Debugger configuration from 0-1

Click create Launch JSON file and select Node.js

2. Run the NPM run command on the cli to create the NPM run dev debugger mode