cli
cli copied to clipboard
Debugging a Starport chain
It seems that, in order to debug a go application, on have to compile the application with the flag -gcflags "all=-N -l" , but I can't find in starport documentation how can I instruct it to compile like that.
Any answers ?
We are planning to add support for configuring the build phase, but it will take a while to introduce due to other priorities.
It would be nice to provide a vscode debugging feature
Piling on here, I've spent half a day trying to figure out how to debug any of the ignite cli tutorials (currently my DeFi loan tutorial won't flip to the approved state, but throws no errors). I did find https://www.youtube.com/watch?v=qnMQDID5HME but this seems to be a pretty dated version of the scaffolding/starport. Any other quick tips on how to do some debugging here or an ETA on when some of the configuration mentioned above may be available? (I'm also using vscode and would love a seamless debugging feature)
Debugger support incoming: #2992