Today I Learned - Rocky Kev

Tagged “debug”

  1. TIL about console.dir

    If you console.log a element, you will get it's HTML markup. If you want it as a JS object, use console.dir instead

  2. TIL adding a debug flag for custom features

    Creating your own ?debug flag in your url to do some sweet debug stuff

  3. TIL about console.count and console.table

    Some different ways to show data via your console

See all tags.