Skip to content

Instantly share code, notes, and snippets.

@gthrm
Forked from fhefh2015/launch.json
Created December 8, 2022 17:21
Show Gist options
  • Save gthrm/eceedea576d9bc41b1e93cfd1f77f7c8 to your computer and use it in GitHub Desktop.
Save gthrm/eceedea576d9bc41b1e93cfd1f77f7c8 to your computer and use it in GitHub Desktop.
Nest.js VSCode Chrome Debug
//.vscode/launch.json
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Attach NestJS WS",
"port": 9229,
"restart": true,
"stopOnEntry": false,
"protocol": "inspector"
}
]
}
//package.json (Nest new CLI commands, requires 6.8.x)
{
"name": "nest-app",
"scripts": {
"start:debug": "nest start --debug --watch"
}
}
@gthrm
Copy link
Author

gthrm commented Dec 8, 2022

chrome://inspect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment