support a debug mode for development