Last active
March 4, 2022 12:14
-
-
Save drmikecrowe/7cd435fb94f0f74106fc00057fe0003b to your computer and use it in GitHub Desktop.
My common launch.json config
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
[ | |
{ | |
"type": "node", | |
"request": "attach", | |
"port": 9229, | |
"sourceMaps": true, | |
"name": "Attach 9229", | |
"cwd": "${workspaceRoot}", | |
"address": "localhost", | |
"localRoot": "${workspaceFolder}", | |
"remoteRoot": "${workspaceFolder}", | |
"protocol": "inspector" | |
}, | |
{ | |
"name": "Current TS File", | |
"type": "node", | |
"request": "launch", | |
"args": ["${relativeFile}"], | |
"runtimeArgs": ["-r", "ts-node/register/transpile-only"], | |
"cwd": "${workspaceRoot}", | |
"protocol": "inspector", | |
"env": { "DEBUG": "*" }, | |
"internalConsoleOptions": "openOnSessionStart" | |
}, | |
{ | |
"name": "Python: Current File", | |
"type": "python", | |
"request": "launch", | |
"program": "${file}", | |
"justMyCode": false, | |
"console": "integratedTerminal" | |
}, | |
{ | |
"name": "Current TS File with tsconfig-paths", | |
"type": "node", | |
"request": "launch", | |
"args": ["${relativeFile}"], | |
"runtimeArgs": ["-r", "tsconfig-paths/register", "-r", "ts-node/register"], | |
"cwd": "${workspaceRoot}", | |
"protocol": "inspector", | |
"env": { "DEBUG": "*" }, | |
"internalConsoleOptions": "openOnSessionStart" | |
} | |
] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment