(Following we use $NIM means Nim source code repo)
# gdb command
source $NIM/tools/debug/nim-gdb.py
or
gdb -x $NIM/tools/debug/nim-gdb.py —args ...
New command:
$ xx → call Nim’s $
# lldb command
command script import $NIM/tools/debug/nimlldb.py