See below for managing the debugging mode.