Skip to content

Instantly share code, notes, and snippets.

@javifm86
Created March 23, 2023 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save javifm86/5d5ef024436403e4fc45363e857a6e62 to your computer and use it in GitHub Desktop.
Save javifm86/5d5ef024436403e4fc45363e857a6e62 to your computer and use it in GitHub Desktop.
Launch NestJS backend with debugger in VSCode
{
"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