limited-rainbow-51650
09/08/2020, 5:55 PM<http://pulumi.log.info|pulumi.log.info>(...)
during preview
operations? I want to debug ResourceTransformation
callback functions.gorgeous-egg-16927
09/08/2020, 5:58 PM.js
file in the node_modules to add logging. Editing the JS files directly is a tighter feedback loop since you don’t have to recompile.console.log
for thislimited-rainbow-51650
09/08/2020, 5:59 PMconsole.log
first, but nothing was displayed during pulumi preview --diff
. Does Pulumi configure the NodeJS runtime with a different log sink?node_modules
, as the ResourceTransformation is my own code within the Pulumi project<http://pulumi.log.info|pulumi.log.info>
lines in my code, how can I make the output visible?gorgeous-egg-16927
09/08/2020, 6:05 PMDoes Pulumi configure the NodeJS runtime with a different log sink?I don’t know for sure. I think I’ve used both in the past. The code gets run during preview, so I’d expect you to see any logging during preview and update
limited-rainbow-51650
09/08/2020, 6:16 PMhundreds-musician-51496
09/09/2020, 11:09 PM