allow "debug mode" to be triggered via click