GoLand
 
Get GoLand
You are viewing the documentation for an earlier version of GoLand.

Start the debugger session

Last modified: 20 July 2023

Starting a debugger session is very similar to running the program in normal mode. The debugger is attached behind the scenes, so you don't have to configure anything specific to start a debugger session. If you are able to run your program from GoLand, you will also be able to debug it using the same configuration.

Each time you debug a program, the debugger session is based on a run/debug configuration. Thus, you can configure GoLand to use any parameters and perform any actions before the program is launched. For example, the configuration can build the application every time you start a debugger session or use the previously compiled code.

The debug session starts with the selected run/debug configuration. Note that several debug processes can be launched simultaneously.