C H A P T E R 4
Debugging jQuery
This chapter will introduce the necessary tools and knowledge you need in order to debug issues that you will come across when writing code. Most SharePoint developers are used to writing managed code where it's fairly straightforward to put in a breakpoint and step through the code. Luckily, this can still be done with JavaScript files in Visual Studio 2010 (as long as the debugger is attached to the right process). Sometimes it is easier to debug in the browser, because one of the benefits of working on the client side is that most modern browsers have tools that allow you to debug “on the fly.”
To explore the debugging options, it's easiest to start with just a Content Editor web part with the jQuery code ...
Get Pro SharePoint with jQuery now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.