Skip to content

Commit 4e15847

Browse files
committed
Reenable debugging via webpack watch
Signed-off-by: paulober <[email protected]>
1 parent 50ed038 commit 4e15847

File tree

5 files changed

+10
-24
lines changed

5 files changed

+10
-24
lines changed

.vscode/extensions.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"recommendations": [
33
"dbaeumer.vscode-eslint",
4-
"paulober.rollup-problem-matcher",
54
"arcanis.vscode-zipfs",
65
"ms-python.black-formatter"
76
]
8-
}
7+
}

.vscode/launch.json

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,9 @@
1313
"--extensionDevelopmentPath=${workspaceFolder}"
1414
],
1515
"outFiles": [
16-
"${workspaceFolder}/dist/**/*.cjs"
17-
],
18-
"preLaunchTask": "${defaultBuildTask}"
19-
},
20-
{
21-
"name": "Extension Tests",
22-
"type": "extensionHost",
23-
"request": "launch",
24-
"args": [
25-
"--extensionDevelopmentPath=${workspaceFolder}",
26-
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
27-
],
28-
"outFiles": [
29-
"${workspaceFolder}/out/test/**/*.js"
16+
"${workspaceFolder}/dist/**/*.js"
3017
],
3118
"preLaunchTask": "${defaultBuildTask}"
3219
}
3320
]
34-
}
21+
}

.vscode/tasks.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{
77
"type": "npm",
88
"script": "watch",
9-
"problemMatcher": "$rollup-ts-watch",
9+
"problemMatcher": "$ts-webpack-watch",
1010
"isBackground": true,
1111
"presentation": {
1212
"reveal": "never",
@@ -18,4 +18,4 @@
1818
}
1919
}
2020
]
21-
}
21+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@
348348
"vscode:uninstall": "node ./dist/vscodeUninstaller.mjs",
349349
"vscode:prepublish": "npm run package",
350350
"compile": "tsc --build tsconfig.json",
351-
"watch": "tsc --build tsconfig.json --watch",
351+
"watch": "webpack --watch --mode development",
352352
"clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
353353
"package": "npm run clean && node scripts/build.mjs",
354354
"lint": "eslint src",

tsconfig.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"module": "Node16",
3+
"module": "node16",
44
"target": "ES2022",
55
"lib": [
66
"ES2022"
@@ -13,9 +13,9 @@
1313
"strictNullChecks": true,
1414
"strictPropertyInitialization": true,
1515
"forceConsistentCasingInFileNames": true,
16-
"esModuleInterop": true,
17-
"moduleResolution": "Node16",
1816
"noImplicitAny": true,
19-
"noImplicitReturns": true
17+
"noImplicitReturns": true,
18+
"moduleResolution": "node16",
19+
"esModuleInterop": true,
2020
}
2121
}

0 commit comments

Comments
 (0)