Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging a Starport chain #1141

Closed
fadeev opened this issue May 16, 2021 · 5 comments
Closed

Debugging a Starport chain #1141

fadeev opened this issue May 16, 2021 · 5 comments
Labels
component:codefest Suitable for codefest contributors.

Comments

@fadeev
Copy link
Contributor

fadeev commented May 16, 2021

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.

@toschdev toschdev added the component:codefest Suitable for codefest contributors. label Oct 1, 2021
@miladz68
Copy link

Any answers ?

@ilgooz
Copy link
Member

ilgooz commented Apr 13, 2022

We are planning to add support for configuring the build phase, but it will take a while to introduce due to other priorities.

@diligentaf
Copy link

It would be nice to provide a vscode debugging feature

@irclausen
Copy link

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)

@aljo242
Copy link
Contributor

aljo242 commented Oct 27, 2022

Debugger support incoming: #2992

@aljo242 aljo242 closed this as completed Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:codefest Suitable for codefest contributors.
Projects
None yet
Development

No branches or pull requests

7 participants