Moved debugging to parent