Skip to content

Commit ba9da1f

Browse files
committed
Changes to enable dev host to launch.
The changes are mainly to launch.json. The change to package.json is simply to reorder the scripts in the order they appear when you create a brand new extension. Yeah, a little OCD on my part.
1 parent 6e22435 commit ba9da1f

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

.vscode/launch.json

+7-11
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,15 @@
22
"version": "0.1.0",
33
"configurations": [
44
{
5-
"request": "launch",
6-
"name": "Launch Extension",
7-
"type": "extensionHost",
8-
//"runtimeExecutable": "${execPath}",
9-
"runtimeExecutable": "c:/dev/Monaco/tools/code.bat",
10-
"args": [
11-
"--extensionDevelopmentPath=${workspaceRoot}",
12-
"c:/Users/daviwil/Documents/DemoFiles"
13-
],
5+
"name": "Launch Extension",
6+
"type": "extensionHost",
7+
"request": "launch",
8+
"runtimeExecutable": "${execPath}",
9+
"args": [ "--extensionDevelopmentPath=${workspaceRoot}" ],
1410
"stopOnEntry": false,
1511
"sourceMaps": true,
16-
"outDir": "out",
17-
"preLaunchTask": "npm"
12+
"outDir": "${workspaceRoot}/out",
13+
"preLaunchTask": "compile"
1814
},
1915
{
2016
"name": "Attach",

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@
3939
"vscode.powershell"
4040
],
4141
"scripts": {
42-
"postinstall": "node ./node_modules/vscode/bin/install",
4342
"vscode:prepublish": "node ./node_modules/vscode/bin/compile",
4443
"compile": "node ./node_modules/vscode/bin/compile -p ./",
45-
"compile-watch": "node ./node_modules/vscode/bin/compile -watch -p ./"
44+
"compile-watch": "node ./node_modules/vscode/bin/compile -watch -p ./",
45+
"postinstall": "node ./node_modules/vscode/bin/install"
4646
},
4747
"contributes": {
4848
"keybindings": [

0 commit comments

Comments
 (0)