Skip to content

Instantly share code, notes, and snippets.

@juanwilde
Created October 12, 2021 21:27
Show Gist options
  • Save juanwilde/22b379115c4bf58d01aae3006347385f to your computer and use it in GitHub Desktop.
Save juanwilde/22b379115c4bf58d01aae3006347385f to your computer and use it in GitHub Desktop.
Debug NestJS in 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": "launch",
"name": "Debug Nest Framework",
"args": [
"${workspaceFolder}/src/main.ts"
],
"runtimeArgs": [
"--nolazy",
"-r",
"ts-node/register",
"-r",
"tsconfig-paths/register"
],
"sourceMaps": true,
"envFile": "${workspaceFolder}/.env",
"cwd": "${workspaceRoot}",
"console": "integratedTerminal",
"protocol": "inspector"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment