mirror of
https://github.com/lxc/incus.git
synced 2026-02-05 09:46:19 +01:00
The Visual Studio Code editor has the ability to attach to or launch golang binaries for interactive debugging, with variable inspection and breakpoints The launch.json file adds the following menu entries to the "Run and Debug" menu in VS Code - Attach to Incusd - Launch Incusd - Launch Incusd --debug The first menu will allow the user to select a running incusd instance to attach the VS Code Go Delve debugger to. The other two options will launch the most recently built incusd, with or without the --debug option, allowing live debugging in the editor with breakpoints Assuming incusd is built into the ~/go/bin directory. Signed-off-by: Stuart Espey <stuart.espey@mactrix.com>