DEV Community

Discussion on: Go: Installation, Setup & IDE

Collapse
 
csgeek profile image
csgeek

The debugging on goland is definitely nicer. One thing I would point out if you do use vscode. You'll need to tweak the depth that the debugger looks at otherwise you'll only be able to inspect one level down.

If this is useful, from my vscode config:

  "go.delveConfig": {
        "dlvLoadConfig": {
            "followPointers": true,
            "maxVariableRecurse": 3,
            "maxStringLen": 120,
            "maxArrayValues": 120,
            "maxStructFields": -1
        },
        "apiVersion": 2,
        "showGlobalVariables": true
    },

Enter fullscreen mode Exit fullscreen mode
Collapse
 
katieraby profile image
Katie Raby

That's really useful! Thank you.