Grunt debug mode

Added a debug mode variable in the grunt file