Skip to content

Commit b90e57e

Browse files
committed
.vscode/launch.json: remove outFiles and deprecated attributes
js/ts debugger seems to correctly infer the out files nowadays. And the outFiles values that were in launch.json don't work on windows. stopOnEntry and protocol are no longer valid. Change-Id: I064476ac6c7be941b8d757e82e04639a4e023b02 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/418549 Reviewed-by: Jamal Carvalho <[email protected]>
1 parent d2afd7d commit b90e57e

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.vscode/launch.json

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"outFiles": [
2323
"${workspaceFolder}/dist/**/*.js"
2424
],
25-
"stopOnEntry": false,
2625
"sourceMaps": true,
2726
"smartStep": true,
2827
"preLaunchTask": "npm: bundle-dev",
@@ -33,7 +32,6 @@
3332
{
3433
"name": "Launch as server",
3534
"type": "node",
36-
"protocol": "inspector",
3735
"request": "launch",
3836
"program": "${workspaceFolder}/dist/debugAdapter.js",
3937
"args": [
@@ -64,14 +62,9 @@
6462
"VSCODE_GO_IN_TEST": "1", // Disable code that shouldn't be used in test
6563
"MOCHA_TIMEOUT": "999999",
6664
},
67-
"stopOnEntry": false,
6865
"sourceMaps": true,
6966
"smartStep": true,
70-
"outFiles": [
71-
"${workspaceFolder}/out/**/*.js",
72-
"${workspaceFolder}/out/test/**/*.js"
73-
],
74-
"preLaunchTask": "npm: watch"
67+
"preLaunchTask": "npm: watch",
7568
},
7669
{
7770
"name": "Launch Extension Tests with Gopls",
@@ -89,12 +82,7 @@
8982
"env": {
9083
"VSCODE_GO_IN_TEST": "1" // Disable code that shouldn't be used in test
9184
},
92-
"stopOnEntry": false,
9385
"sourceMaps": true,
94-
"outFiles": [
95-
"${workspaceFolder}/out/**/*.js",
96-
"${workspaceFolder}/out/test/**/*.js"
97-
],
9886
"preLaunchTask": "npm: watch",
9987
},
10088
{

0 commit comments

Comments
 (0)