For debugging JavaScript/jQuery code, the easiest and preferred way is to use console.log () to output a message in the web console. But it works fine when you have a small amount of logging messages. But having large number of logging makes log messy and