提交 c5706111 编写于 作者: J Joao Moreno

allow debugging cli process

上级 54c2b18e
......@@ -36,6 +36,14 @@
"sourceMaps": true,
"outDir": "${workspaceRoot}/out"
},
{
"name": "Attach to CLI Process",
"type": "node",
"request": "attach",
"port": 5874,
"sourceMaps": true,
"outDir": "${workspaceRoot}/out"
},
{
"name": "VSCode API Tests",
"type": "extensionHost",
......@@ -92,11 +100,9 @@
"request": "launch",
"program": "${workspaceRoot}/build/lib/monaco.js",
"stopOnEntry": false,
"args": [
],
"args": [],
"cwd": "${workspaceRoot}/build/lib"
// ,
// "port": 5870,
// "sourceMaps": true,
// "outDir": "${workspaceRoot}/out"
......
......@@ -35,7 +35,7 @@ function code() {
VSCODE_DEV=1 \
ELECTRON_ENABLE_LOGGING=1 \
ELECTRON_ENABLE_STACK_DUMPING=1 \
"$ELECTRON" "$CLI" . "$@"
"$ELECTRON" --debug=5874 "$CLI" . "$@"
}
code "$@"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册