Take java system property DEBUG to use debug mode