ok, i had the same question and i found out yesterday
have the debug code, then on the first screen it should say something liek "master" change this to "develop"
then start whatever you want *you can mostly do btt/advetnure stages i think* and just pause, and press Z and keep pressing it to advance frame by frame..