If you use go plugin in vscode to be honest with your settings, you can use debug on vscode (breakpoint step execution) for normal go programs.
Now I wanted to debug the local DevServer that starts with goapp serve in the same way.
Is this feasible?If possible, what configuration should I configure?
go google-app-engine vscode
Install delve on both remote machines and development servers and
You can rewrite host
in launch.json
to the IP address of the development server, run delve
manually on the development server, and then start debugging.
Qiita had a entry that explained this.
In English, Goapp had a similar description
I found this answer by searching vscode
go
Remote Debug
on Google
.
© 2024 OneMinuteCode. All rights reserved.