Skip to content

Instantly share code, notes, and snippets.

@geraldyeo
Created September 30, 2021 02:32
Show Gist options
  • Save geraldyeo/02cef7bf9277a60ec78932930309e28c to your computer and use it in GitHub Desktop.
Save geraldyeo/02cef7bf9277a60ec78932930309e28c to your computer and use it in GitHub Desktop.
vscode debug launch config
{
// 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 to Nest Framework",
"port": 9229,
"restart": true,
"stopOnEntry": false,
"cwd": "${workspaceFolder}",
"protocol": "inspector"
},
{
"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": "${workspaceFolder}",
"console": "integratedTerminal",
"protocol": "inspector"
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment