Skip to content

Commit bb63dc5

Browse files
committed
Fix debugging not working
VSCode was not able to find the original source of the bundled extension because it was looking for the source in the `out` directory. By setting the `sourceRoot` to the `extensions/ql-vscode` directory which is located at `..` from the `out` directory, VSCode is able to find the original source and breakpoints are hit.
1 parent 033d653 commit bb63dc5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

extensions/ql-vscode/gulpfile.ts/typescript.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export function compileEsbuild() {
4646
platform: "node",
4747
target: "es2020",
4848
sourcemap: "linked",
49+
sourceRoot: "..",
4950
loader: {
5051
".node": "copy",
5152
},

0 commit comments

Comments
 (0)