Troubleshooting using Chrome Developer Tools

You can use Chrome Developer tools (More Tools->Developer Tools) to troubleshoot your REST APIs during development.

Network->XHR (Click on the file name under the Name section)

Screen Shot 2016-04-10 at 9.37.16 AM

Headers Tab (what’s sent to the API)

Screen Shot 2016-04-10 at 9.37.38 AM

Response Tab (response sent from API)

Screen Shot 2016-04-10 at 9.37.55 AM

View the Cookies

Screen Shot 2016-04-10 at 9.38.05 AM

You can also use the built-in debugger to set breakpoints and debug your JavaScript files.