VS Code Debug With nodemon

The following configuration will let VS Code use nodemon for debugging and have the output go to the main console instead of the debug console. Add this configuration to launch.json in your project.

The following configuration will let VS Code use nodemon for debugging  and have the output go to the main console instead of the debug console. Add this configuration to launch.json in your project.

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "node",
            "request": "launch",
            "name": "Node: Nodemon",
            "runtimeExecutable": "npm",
            "runtimeArgs": ["start"],
            "console": "internalConsole",
        },
    ]
}
.vscode/launch.json

Subscribe to dadonk

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
jamie@example.com
Subscribe