Can I perform debugging on vscode on the development goapp server?

Asked 1 years ago, Updated 1 years ago, 56 views

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

2022-09-29 21:26

1 Answers

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 vscodegoRemote Debug on Google.


2022-09-29 21:26

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.