Download - Debugging - WordCamp Nashville 2013
![Page 1: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/1.jpg)
Debugging
![Page 2: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/2.jpg)
Nathaniel Schweinberg@nathanielks
Fight the Current .org
![Page 3: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/3.jpg)
Welcome
![Page 4: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/4.jpg)
We're here to prevent this:
![Page 5: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/5.jpg)
Let me refer you:
![Page 6: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/6.jpg)
Let's get tothe good stuff
![Page 7: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/7.jpg)
Logic
![Page 8: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/8.jpg)
Two things to know
![Page 9: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/9.jpg)
Know how "it" works
![Page 10: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/10.jpg)
Know how "it" works
The Language
![Page 11: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/11.jpg)
Know how "it" works
The Language The functions
![Page 12: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/12.jpg)
![Page 13: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/13.jpg)
Know theexpected output
![Page 14: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/14.jpg)
Know theexpected output
![Page 15: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/15.jpg)
Know theexpected output
![Page 16: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/16.jpg)
The Tools
![Page 17: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/17.jpg)
Error Logs
Notices and Warnings
XDebug + var_dump
Developer
Debug Bar
Debug Bar Extender + dbgx_trace_var
![Page 18: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/18.jpg)
![Page 19: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/19.jpg)
![Page 20: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/20.jpg)
![Page 21: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/21.jpg)
Debug Bar
![Page 22: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/22.jpg)
Debug Bar
![Page 23: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/23.jpg)
Debug Bar
![Page 24: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/24.jpg)
Debug Bar
![Page 25: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/25.jpg)
Debug Bar
![Page 26: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/26.jpg)
Debug Bar
![Page 27: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/27.jpg)
Debug Bar
![Page 28: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/28.jpg)
Debug Bar
![Page 29: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/29.jpg)
Javascript
![Page 30: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/30.jpg)
console.log
![Page 31: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/31.jpg)
Chrome Dev Tools
![Page 32: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/32.jpg)
Elements Panel
![Page 33: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/33.jpg)
Inline Console
![Page 34: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/34.jpg)
$0 selects selected element
![Page 35: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/35.jpg)
$0 can be used by jQuery
![Page 36: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/36.jpg)
Sources Panel
![Page 37: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/37.jpg)
Pretty Print minified scripts
![Page 38: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/38.jpg)
Live editing
![Page 39: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/39.jpg)
Live editing
![Page 40: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/40.jpg)
Save off your edits!
![Page 41: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/41.jpg)
Pause on Exceptions
![Page 42: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/42.jpg)
Pause on Exceptions
![Page 43: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/43.jpg)
Breakpoints ( DOM, XHR, Events )
![Page 44: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/44.jpg)
Final Thoughts
![Page 45: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/45.jpg)
Be willing to put it down
![Page 46: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/46.jpg)
Take the pressure off
![Page 47: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/47.jpg)
Take your time
![Page 48: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/48.jpg)
Take the time to do_it_right
![Page 49: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/49.jpg)
The best tool of all?
![Page 50: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/50.jpg)
You.
![Page 51: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/51.jpg)
Believe in yourself
![Page 52: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/52.jpg)
Thank You
![Page 53: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/53.jpg)
http://bit.ly/WCNashvilleDebugging
Resources:
![Page 54: Debugging - WordCamp Nashville 2013](https://reader030.vdocuments.mx/reader030/viewer/2022020217/54661b9eaf795997368b5002/html5/thumbnails/54.jpg)
Nathaniel Schweinberg@nathanielks
Fight the Current .org