define debug mode