JavaScript - Debugging


debugger

just insert debugger line to add breakpoint.

console.log

  1. https://stackoverflow.com/a/13017382/3632318
console.log('%c hello world', 'color: blue, font-size: 20px;')