Yes, runtime debugging helps to solve a lot of bugs. I was so annoyed with buggy codes generated by AI so at the end I actually developed something not sure similar to your or not:both AI coder and AI debugger two-in-one, a fork of Roo-Code. So it (Zentara-Code) can code and debug it code at the same time in runtime. It automatically set breakpoints, do stack tracing, inspect stack frame variables. As it leverages Debug Adapter Protocol (DAP), it works for any language in VSCode.
https://github.com/Zentar-Ai/Zentara-Code
No comments yet.