Last active
April 22, 2022 03:08
-
-
Save mysteryven/5b0aaea291aeaf9b3ca99bc3921e9f83 to your computer and use it in GitHub Desktop.
vs code 调试 ts 文件
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": [ | |
{ | |
"name": "Example", | |
"type": "node", | |
"request": "launch", | |
"runtimeExecutable": "/usr/local/bin/node", | |
"runtimeArgs": [ | |
"--nolazy", | |
"-r", | |
"ts-node/register/transpile-only" | |
], | |
"args": [ | |
"bin/startServer.ts" | |
], | |
"cwd": "${workspaceRoot}", | |
"internalConsoleOptions": "openOnSessionStart", | |
"skipFiles": [ | |
"<node_internals>/**", | |
"node_modules/**" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment