Add checkbox for debug