https://pulumi.com logo
#general
Title
# general
l

limited-carpenter-34991

05/19/2020, 7:28 PM
Hi there, i didn't find any opportunity yet to debug my pulumi programm (c#). I have visual studio 2019 and also visual studio code. When i start debugging it always tell me to start it via pulumi cli.
l

little-cartoon-10569

05/19/2020, 8:07 PM
Work is still in progress: https://github.com/pulumi/pulumi/issues/1372 I don't know if there's a .net equivalent, but you may be able to debug js/ts stubbed (
pulumi.runtime.setMocks()
) test runs if you wrap them in
pulumi.runtime.stack.runInPulumiStack()
. I should try that, actually...
2 Views