debugging: Simplifying arguments handling
debugging: Moving debugging flag assignment
debugging: Fixing resume in catch and finally