Skip to content

Instantly share code, notes, and snippets.

@tranghaviet
Created August 8, 2023 07:41
Show Gist options
  • Save tranghaviet/5a35507cbc4235ae4bdf95426541cc56 to your computer and use it in GitHub Desktop.
Save tranghaviet/5a35507cbc4235ae4bdf95426541cc56 to your computer and use it in GitHub Desktop.
Nest.js debugger settings (VSCode)
{
// 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 Debug",
"port": 9229,
"restart": true,
"stopOnEntry": false,
"protocol": "inspector"
},
{
"type": "node",
"request": "launch",
"name": "Launch Debug",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run",
"start:debug",
"--",
"--inspect-brk"
],
"console": "integratedTerminal",
"restart": true,
"protocol": "auto",
"port": 9229,
"autoAttachChildProcesses": true
},
{
"name": "Launch NestJs",
"request": "launch",
"runtimeArgs": [
"run",
"start:dev"
],
"runtimeExecutable": "npm",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment