Hello,
I am very new to all of these. The break points I am adding to the tests are not working, they are just ignored. This is not happening with go programs, so it is may be not the ide.
I was wondering if somebody could help me. Also I am not sure if this is the right channel, if there is another channel for people who are just new, I would be happy if someone can refer them to me
b
brainy-church-78120
04/27/2021, 12:06 PM
we also have a #getting-started channel if you'd like to try asking there as well.
w
white-balloon-205
04/28/2021, 12:27 AM
What piece of code are you setting breakpoints in? Is this in the Pulumi engine/CLI? Or in your Pulumi program? What IDE are you using? There are some tips in https://github.com/pulumi/pulumi/issues/1372 on attaching a debugger to a Pulumi program.
g
green-engine-3760
04/29/2021, 11:51 AM
I have set a break point in new_test.go hoping to understand the cmd commands
this is in the pkg in pulumi engine, my first problem however is that I am not sure if I have set up the pulumi project properly. A lot of import files can not actuallz be imported. I ran the make ensure command but with little luck
Hello Luke, Is there a way to debug the Pulumi CLI? What I am trying is to debug the pulumi source code itself
Thank you very much.
However the debugger exits with code 0
btw, I am using goland. I put a breakpoint in main() and started debugging, the debug console opens, I entered "pulumi new" but after a while the debugger exited with code 0. I am sorry that the questions are very stupid. I am complete beginner