launch.json 内 configurations 添加如下内容
{
"name": "当前 ts 文件",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/ts-node/dist/bin.js",
"args": ["${relativeFile}", "I:/creator/mk_framework/proto", "I:/creator/mk_framework/assets/resources/config/proto", "test", "100"],
"cwd": "${workspaceRoot}",
"protocol": "inspector"
}
标签:node,proto,vscode,creator,ts,framework
From: https://www.cnblogs.com/muzzik/p/17063417.html