You are here:   GIS Web Map Tutorial > Debugging
  |  Login



I suggest that if you need to debug anything that you use Google Chrome or Firebug with FireFox.  I will show you the simple way to debug with Chrome.  Open the debugger.


Mac: ALT--J

Also available through the wrench menu (Tools > JavaScript Console):

JavaScript Console Menu

If there are any errors there will be an error notification at the bottom of the page.  You can click the error and it will take you to the problem area.  Once you identify what the error is you must go to your code and fix the error, save and try again.  With our example there are several areas that a typo could cause an issue however with the post of completed code in between I think we have eliminated most of the issues through copy and paste...