From 7f4f5841fd88f087fb612f6be980d515974afb85 Mon Sep 17 00:00:00 2001 From: Andrey Karpov Date: Fri, 26 Feb 2016 17:23:43 +0300 Subject: [PATCH 1/2] added configuration for self debugging --- .vscode/launch.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index d60c89d..ae43711 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -13,6 +13,18 @@ "outDir": "${workspaceRoot}/out/src", "preLaunchTask": "npm" }, + { + "name": "code-debug server", + "type": "node", + "request": "launch", + "runtimeArgs": [ "--nolazy" ], + "program": "${workspaceRoot}/src/gdb.ts", + "stopOnEntry": false, + "args": [ "--server=4711" ], + "sourceMaps": true, + "outDir": "${workspaceRoot}/out/src", + "cwd": "${workspaceRoot}" + }, { "name": "Launch Tests", "type": "extensionHost", From 9a4c7cad875db80f25b8d5279bdddde3a1d1a01c Mon Sep 17 00:00:00 2001 From: Andrey Karpov Date: Fri, 26 Feb 2016 22:18:05 +0300 Subject: [PATCH 2/2] added missing parameter --- .vscode/launch.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index ae43711..53dd2c4 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -23,7 +23,8 @@ "args": [ "--server=4711" ], "sourceMaps": true, "outDir": "${workspaceRoot}/out/src", - "cwd": "${workspaceRoot}" + "cwd": "${workspaceRoot}", + "preLaunchTask": "npm" }, { "name": "Launch Tests",