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

Is it possible to use gin with dlv debugger? #146

Open
FarhadF opened this issue Sep 26, 2018 · 2 comments
Open

Is it possible to use gin with dlv debugger? #146

FarhadF opened this issue Sep 26, 2018 · 2 comments

Comments

@FarhadF
Copy link

FarhadF commented Sep 26, 2018

Is it possible to use gin with dlv debugger? Any help would be appreciated.

@rahuldaga
Copy link

bump

@profsmallpine
Copy link

Not sure if you mean to debug the gin server or whatever you are using gin to run. If it's the latter, then you attach delve to the PID and then can use vscode or atom or whatever to create breakpoints and check stuff out.

dlv attach --headless --listen=:2345 $(pgrep -f $binary_filepath) --api-version=2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants