Other stuff
Inserting breakpoints right into your code
For instance, to stop your code exiting on completion you could add the following lines to the end
$DB::single = 1; 1;