first submission:submitting first snipplet

brandonjp's Recent SnippetsTagged debug

« Prev 1 Next »
// create a variable to toggle debugging // to use it, just call debug(with,any,optional,parameters) debug(x,y,z); // it will try to guess what type of message to log, or you can specify in the first parameter debug("error",x,y,z);
1 407 posted 6 years ago by brandonjp
« Prev 1 Next »