Here's an how I set things up: [https://github.com/russpowers/nim-debug-example](https://github.com/russpowers/nim-debug-example)
It uses python to customize the gdb output, which generally works pretty well. You still get a lot of junk variables, but the ones you care about are usually there.