Debugging Dojo in the Brazil starter store
You can debug Dojo in the Brazil starter store to help determine the locations of potential problems to resolve.
Debugging tools
Useful tools when debugging Dojo in the Brazil starter
store include:
- Google Chrome
- Includes built-in debugger tools
- Recommended: Mozilla Firefox with the Firebug add-on:
- Enables you to edit, debug, and monitor CSS, HTML, and JavaScript.
- Serves as a network activity and DOM inspector.
- Available as an optional free browser add-on.
- Mozilla Firefox with the Web Developer add-on:
- Includes a CSS validator, an HTML validator and a DOM inspector.
- Available as an optional free browser add-on.
- Microsoft Internet Explorer
- Includes built-in debugger tools
Debugging Dojo strategies in the Brazil starter store
The recommended debugging tool for the Brazil starter store is Mozilla Firefox with the Firebug add-on.
The Brazil starter store uses Dojo's console.debug() to trace JavaScript code in the store. The debug statements display in the browser and are located at the bottom of the page.
You can use any of Dojo's five provided logging severity levels, however, console.debug() should provide enough information to effectively debug Dojo in the Brazil starter store.
For more information, see debugging tutorial, specifically the logging method section.