Created
January 20, 2022 02:28
-
-
Save khuongln-1346/5a123264fe873eaff4391dc8ccc40680 to your computer and use it in GitHub Desktop.
launch.json example
This file contains 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.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Jest watch current file", | |
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js", | |
"args": [ | |
"${fileBasename}", | |
"--config=${workspaceFolder}/package.json", | |
"--verbose", | |
"-i", | |
"--no-cache", | |
"--watchAll" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen" | |
}, | |
{ | |
"name": "Debug: Attach to App container", | |
"type": "node", | |
"request": "attach", | |
"port": 9229, | |
"address": "localhost", | |
"localRoot": "${workspaceFolder}", | |
"remoteRoot": "/project", | |
"protocol": "inspector", | |
"restart": true, | |
"skipFiles": ["<node_internals>/**"], | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment