Skip to content

Commit

Permalink
[compiler] Enable sourceMaps in tsconfig (#30064)
Browse files Browse the repository at this point in the history
With this, we can set a `debugger` breakpoint and we'll break into the
source code when running tests with snap. Without this, we'd break into
the transpiled js code.
  • Loading branch information
gsathya authored Jun 25, 2024
1 parent f5d2feb commit 8971381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/packages/snap/src/runner-watch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function watchSrc(
const host = ts.createWatchCompilerHost(
configPath,
ts.convertCompilerOptionsFromJson(
{ module: "commonjs", outDir: "dist" },
{ module: "commonjs", outDir: "dist", sourceMap: true },
"."
).options,
ts.sys,
Expand Down

0 comments on commit 8971381

Please sign in to comment.