I am new to enterprise browser. I am working with a Motorola MC92N0-G scanner. On the backend I am using an MVC PHP Framework. One of the demos worked on it for me but when I modified the demo for my own uses things stopped working. Is there a good way to debug what is going wrong?

The best way is to use Remote Web Inspecting tools. These are the standard dev tools for Web browsers that you are probably already familiar with in Chrome, etc. But the device that is still the one retrieving and rendering the page from your server. It is very useful for catching JavaScript errors as well as identifying performance and rendering issues. For Android Devices KitKat and above, it is built in and you can use Chome quite easily. For Windows Mobile, we had to write our own version of this capability for our version of Webkit.