is there a way to view the compiled (from typescri...
# general
b
is there a way to view the compiled (from typescript) js that pulumi is executing?
w
Not directly. You can compile yourself and load the
.js
files directly if you want more control over TS compilation. Is there a particular reason you want/need to look at the intermediate JS code?
b
yes, i am trying to debug https://github.com/pulumi/pulumi/issues/3905, and the line numbers in pulumi's output don't match the actual source file (some sort of source map problem i guess)
w
Huh - yeah - for your source files - I would expect it to show the
.ts
files in errors/stacks. Note that core libraries are all pre-compiled, so may show as
.js
(and you can find the actual
.js
source in the
node_modules
folder).