Skip to content

Commit c8916fb

Browse files
authored
Add launch-config that allows to attach to code-oss (started out of the vscode) (microsoft#1272)
1 parent 05c2867 commit c8916fb

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

.vscode/launch.json

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,25 @@
297297
"presentation": {
298298
"group": "2_launch"
299299
}
300-
}
300+
},
301+
{
302+
"name": "Attach to Extension Host - Code OSS",
303+
"type": "node",
304+
"request": "attach",
305+
"restart": true,
306+
"timeout": 0,
307+
"port": 5870,
308+
"sourceMaps": true,
309+
"outFiles": [
310+
"${workspaceFolder}/../vscode/out/**/*.js",
311+
"${workspaceFolder}/../vscode/extensions/*/out/**/*.js",
312+
"${workspaceFolder}/dist/**/*.js",
313+
"!**/node_modules/**"
314+
],
315+
"presentation": {
316+
"group": "2_launch"
317+
}
318+
},
301319
],
302320
"compounds": [
303321
{
@@ -312,4 +330,4 @@
312330
}
313331
}
314332
]
315-
}
333+
}

0 commit comments

Comments
 (0)