O'Reilly logo

Learn ARCore - Fundamentals of Google ARCore by Micheal Lanham

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Debugging with Chrome

At this point, if you have experience using the Chrome DevTools, you are good to start debugging. Of course, if this is all relatively new to you, follow the given steps to learn how to debug in DevTools:

  1. Switch your view to the Chrome window we opened in the last section.
  2. Click on the Sources tab of the DevTools window.
  3. Select spawn-at-camera.html or the one you used in your testing.
  4. Scroll down through the HTML and JavaScript until you see the onClick() function.
  5. Click on the line number 229 (229 in the example, but yours may differ), just left of the highlighted code to set a break point. This is also demonstrated in the following excerpt:
Setting a JavaScript break point
  1. Switch back to the device that is running ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required