Last active
February 20, 2025 16:44
-
-
Save fhefh2015/fe055daaf0ffae7845a976cece2a8f74 to your computer and use it in GitHub Desktop.
Nest.js VSCode Chrome Debug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//.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