Skip to content

Instantly share code, notes, and snippets.

@AllanJeremy
Last active June 28, 2024 06:27
Show Gist options
  • Save AllanJeremy/526b0fb0b6b7647b0a66694960a4f260 to your computer and use it in GitHub Desktop.
Save AllanJeremy/526b0fb0b6b7647b0a66694960a4f260 to your computer and use it in GitHub Desktop.
Launch.json for debugging NestJS applications 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,
"cwd": "${workspaceRoot}",
"protocol": "inspector"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment