Nim works very well with Emacs and Visual Studio Code at the very least, also Vim (from reports by others) - including debug support. What are you missing?
There's some limited debugging support at the generated C code, but this is not sufficient for me.