start using -debug flag instead of getting debug cue from envirnment