print warnings in debug mode