What's wrong with breakpoints or Run to Cursor? Either would be better than adding unneeded code to a project, IMO.