{"id":58,"date":"2015-02-13T17:11:10","date_gmt":"2015-02-13T17:11:10","guid":{"rendered":"http:\/\/buildanhtml5game.com\/?page_id=58"},"modified":"2015-02-13T17:11:10","modified_gmt":"2015-02-13T17:11:10","slug":"chapter-1-exercise-3-browser-debugging-tools","status":"publish","type":"page","link":"http:\/\/buildanhtml5game.com\/?page_id=58","title":{"rendered":"Chapter 1, Exercise 3 &#8211; Browser Debugging Tools"},"content":{"rendered":"<p><em>Learn how to use your browser\u2019s debugging tools. It\u2019s likely you\u2019ll have access to breakpoints, watch variables, and the variable stack, so read about and experiment with them. Learning your way around the tools now can be quite a time-saver when you\u2019re debugging later. Try adding breakpoints within the init and startGame functions in game.js and trace the code as it runs.<\/em><\/p>\n<p>Debugging in Firefox: <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Tools\/Debugger\">https:\/\/developer.mozilla.org\/en-US\/docs\/Tools\/Debugger<\/a><\/p>\n<p>Debugging in Chrome: <a href=\"https:\/\/developer.chrome.com\/devtools\">https:\/\/developer.chrome.com\/devtools<\/a><\/p>\n<p>Debugging in Internet Explorer: <a href=\"https:\/\/msdn.microsoft.com\/library\/ie\/bg182326%28v=vs.85%29\">https:\/\/msdn.microsoft.com\/library\/ie\/bg182326%28v=vs.85%29<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to use your browser\u2019s debugging tools. It\u2019s likely you\u2019ll have access to breakpoints, watch variables, and the variable stack, so read about and experiment with them. Learning your way around the tools now can be quite a time-saver when you\u2019re debugging later. Try adding breakpoints within the init and startGame functions in game.js [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":22,"menu_order":2,"comment_status":"open","ping_status":"open","template":"practice-answer-page.php","meta":[],"_links":{"self":[{"href":"http:\/\/buildanhtml5game.com\/index.php?rest_route=\/wp\/v2\/pages\/58"}],"collection":[{"href":"http:\/\/buildanhtml5game.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/buildanhtml5game.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/buildanhtml5game.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/buildanhtml5game.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=58"}],"version-history":[{"count":1,"href":"http:\/\/buildanhtml5game.com\/index.php?rest_route=\/wp\/v2\/pages\/58\/revisions"}],"predecessor-version":[{"id":59,"href":"http:\/\/buildanhtml5game.com\/index.php?rest_route=\/wp\/v2\/pages\/58\/revisions\/59"}],"up":[{"embeddable":true,"href":"http:\/\/buildanhtml5game.com\/index.php?rest_route=\/wp\/v2\/pages\/22"}],"wp:attachment":[{"href":"http:\/\/buildanhtml5game.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=58"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}