Skip to content

Commit 8747456

Browse files
committed
choosable port for attach launch config
Signed-off-by: Jonah Iden <[email protected]>
1 parent 5b87aff commit 8747456

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.vscode/launch.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"type": "node",
99
"request": "attach",
1010
"name": "Attach to Service Process",
11-
"port": 23698,
11+
"port": "${input:attachPort}",
12+
1213
},
1314
{
1415
"type": "node",
@@ -91,5 +92,13 @@
9192
"sourceMaps": true,
9293
"outFiles": []
9394
}
95+
],
96+
"inputs": [
97+
{
98+
"id": "attachPort",
99+
"type": "promptString",
100+
"description": "What port should the application use for debugging?",
101+
"default": "23698"
102+
}
94103
]
95104
}

0 commit comments

Comments
 (0)