No. The DS is not a modern system with security and levels of operation, and nobody puts debug stuff like that in commercial hardware when you are building down a price.
You can insert things into code to see what is going on, the supercard dstwo and ismm will allow you to view memory and find
cheats, datel made cheat finding devices which will allow some measure of debugging and there are a few other things you can do (do note you can also run
cheats on commercial games with things like nitrohax). With that said no$gba debug is fast, pretty accurate and free with capabilities far in excess of anything you will get in hardware
http://problemkaputt.de/gba.htm .