Debugging Javascript in production environments 101
Ankur Agarwal
@devilankur18
For every javascript developer out there who is pushing his/her code to the productions environment faced a lot a lot of challenges while debugging and tracking errors/exceptions in javascript.
This talk help them better understand the challenges while developing modern javascript applications and also provide best solution to easily tackle them.
Outline
The web is upgrading very fast. There are many challenges in debugging a javascript application
- window.onerror is becoming more useless http://developers.debuggify.net/blog/2012/11/26/window-dot-onerror-is-not-enough/
- Due to Minified code, its hard to know what going on
- Code has been hosted on other subdomains / CDNs, so its challenging to track exceptions in live code due to browser permissions.
- The infamous Script Error http://developers.debuggify.net/docs/#!/guide/advance-section-5
Others Important Topics
1. Debug Ajax calls http://developers.debuggify.net/blog/2013/07/25/tracking-jquery-ajax-errors-and-exceptions/
2. Making debugging easy with existing library/frameworks like jquery, backbone, ember, angular etc
3. More Tips and thttps://funnel.hasgeek.com/jsfoo2013/783-debugging-javascript-in-production-environments-101/edit#ricks
For more, checkout the slide https://speakerdeck.com/devilankur18/debug-the-web-101
Requirements
Must: Have basic understanding of JavaScript and coded at least one javascript applications
Optional: The talk will be more helpful to developers whose code is running in production environment.
Speaker bio
Founder @ Debuggify (https://www.debuggify.net) | Entrepreneur | Dreamer | Thinker | Coder | Geek
I am a full stack developer and loves javascript and therefore working for over an year to solve the challenges related to debugging modern javascript applications.
You can find me giving talks at Bangalore JS / Javascript Ninja Bangalore Group.
Github: https://github.com/devilankur18
Github: https://github.com/debuggify
Twitter: https://twitter.com/Agarwal_Ankur
LinkedIn: http://www.linkedin.com/in/ankuragarwalmnnit
Links
- Flash talk on Tracking Exceptions in Cross Origin Scripts https://www.youtube.com/watch?v=86pswYiUjjg
- Working on javascript developer friendly tool for over an year. - www.debuggify.net
- Debuggify Demo at Bangalore: JS https://www.youtube.com/watch?v=Rx133kZKW34
{{ errorMsg }}