You mean like a normal debugger on windows? It is more or less possible with a hardware debugger but it will always interfere with interrupts etc, so you can only set breakpoints and you normally can not see variables, only registers of cpu. So that is a pain. Easier is normally to add some Com::printFLN(PSTR("hgjgj"), value); to debug variables at special states.