Skip to content

Instantly share code, notes, and snippets.

@fhefh2015
Last active March 26, 2024 08:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save fhefh2015/fe055daaf0ffae7845a976cece2a8f74 to your computer and use it in GitHub Desktop.
Save fhefh2015/fe055daaf0ffae7845a976cece2a8f74 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"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment