The console in developer tools is pretty useful when debugging, and there are a small trick for clearing the console log:
instead of clear()
, console.clear()
, or press clear icon, you can use ctrl+L
(or cmd+K) to trigger it and save your time.
the full list of shortcuts for developer tools (chrome):