Can anyone offer some advice on running in debug mode. I am developing quiet long scripts that roll server dates forwards and backwards multiple times throughout the course of one script. Each time I encounter an issue I fix it then have to rerun the script which takes up valuable time. Is there anyway for me to run the script to a certain point(breakpoint) then restart the script from that specific point after an issue has been resolved instead of runnign through the whole thing again? We use appstates and recovery system so when I tried this in debug mode it loaded up my login page etc due to these...any advice?
I feel you can do it by inserting the break point at the point where you want to start debugging. After inserting the same, run the script. The script will execute the scripts before the break point. After that you can debug according to your convenience.