Skip to content

Instantly share code, notes, and snippets.

@ronycohen
Forked from favasconcelos/launch.json
Created May 14, 2020 09:24
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 ronycohen/dc20ca3f4b31533690fdb64daca16fae to your computer and use it in GitHub Desktop.
Save ronycohen/dc20ca3f4b31533690fdb64daca16fae to your computer and use it in GitHub Desktop.
NestJS - VSCode - DEBUG
{
"version": "0.1.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug Nest JS",
"program": "${workspaceFolder}/dist/main.js",
"preLaunchTask": "tsc: build - tsconfig.json",
"outFiles": [
"${workspaceFolder}/dist/**/*.js"
],
},
{
"type": "node",
"request": "launch",
"name": "Debug Jest Tests",
"cwd": "${workspaceFolder}",
"args": [
"--inspect-brk",
"${workspaceRoot}/node_modules/.bin/jest",
"--runInBand",
"--coverage",
"false",
"--config",
"${workspaceRoot}/jest.config.js"
],
"windows": {
"args": [
"--inspect-brk",
"${workspaceRoot}/node_modules/jest/bin/jest.js",
"--runInBand",
"--config",
"${workspaceRoot}/jest.config.js"
],
},
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment