Fix after #332: --debug can be either 'true' or 'false'