Removed prompt for debug mode and made it a CLI flag