issue #23894: allow debugging mode