Restore the debug version from the terminated branch and save the trunk version. This branch is now pretty much in the same run-state as the terminated branch apart from the debug printouts.