Skip to content

Instantly share code, notes, and snippets.

@GHkrishna
Last active November 28, 2024 12:34
Show Gist options
  • Save GHkrishna/bfe8f2711ec4a1847d8cfb7c8bc7551b to your computer and use it in GitHub Desktop.
Save GHkrishna/bfe8f2711ec4a1847d8cfb7c8bc7551b to your computer and use it in GitHub Desktop.
This is a launch file for node projects in VScode debugger # To start the debugger go to: 'Run and debug' -> 'create a launch.json file' -> 'Nodejs' # A file will be created, paste the below contents
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug Nest Framework",
"runtimeExecutable": "pnpm",
"runtimeArgs": [
"run",
"start:debug",
"--",
"--inspect-brk"
],
"autoAttachChildProcesses": true,
"restart": true,
"sourceMaps": true,
"stopOnEntry": false,
"console": "integratedTerminal",
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment