Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Use Intellij idea14.0.2 to Debug the golang?

The Debug button is disable, Shift+Alt+F9 will show this:

debug button is disabled

How to properly configure the debug page?

the confige page

like image 312
Eric Avatar asked Jan 23 '15 06:01

Eric


1 Answers

Update. The Go plugin supports Delve on Linux and Mac since September 2015 and on Windows since January 2016.

Original answer:

Currently we are dropping support for the debugger with gdb as it's very hard to use and unstable. Please see the go docs for gdb debugging

However, there are efforts in getting the open-source Delve debugger support for IDEs from which IDEA will benefit as well.

Please bug the Go team to support Delve or another debugger in order to have a stable solution and then integration with IDEA could be done.

like image 99
dlsniper Avatar answered Oct 20 '22 05:10

dlsniper