Debugging in JS Code


If you continually receive the “Cannot get User Media” message, make sure to configure the browser to ask for microphone permission when accessing the app. The image below shows where to find this step:

To enable different levels of debugging output in the JS console, include the following line in your frontend JS code:

voxbone.Logger.log_level = 0;


Allow values from 0 to 2, in which:
‘0’ will show no debug output
‘1’ will display just errors
‘2’ will show debug level info