Respect debug mode.