There are 2 ways to test and debug your projects in AR Studio:
You can use the Console in AR Studio to display values of variables from the script you've added to your project.
This is done with the log(data) method of the Diagnostics. module.
Log statements are script instructions that only work in AR Studio. Since they are script statements, if they are included in your shipped effect, the script processor will try to execute them and no action will be taken. This can have a negative effect on performance so remove all Diagnostics.log() calls from your scripts before shipping your final effect.
To show or hide the Console:
The Console will appear below the Viewport.
To run the script in your scene, click Run in the Toolbar. To stop it, click Stop.
Once you're ready to test your project on a mobile device, you can use the AR Studio Player app. The app is available on both iOS and android mobile devices. To use it, you'll need:
For details on using the AR Studio Player, see Using the AR Studio Player App.