-
-
Save ronycohen/dc20ca3f4b31533690fdb64daca16fae to your computer and use it in GitHub Desktop.
NestJS - VSCode - DEBUG
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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