added debug/grunt check