How to debug RestApi deployed on local server using Vs code for Go Language. I have gone through delve docs and made the settings. I have a local server, With java client i am trying to get the response. The localhost server is running on debug mode but flow is not stopping on breakpoints. The code is in Go language and i am using VSCode IDE.
VSCode has pretty good wiki page about it on their GitHub
I do not want to quote whole docs here. Quick summary of steps would be:
launch.json
And you are ready.
Hope you have proper Go lang setup for VS Code. Otherwise just check this link.
Note: You have to run your Go RestApi through VS Code