Decide if enable debug by config rather than by process argv.