Because now most of the project is written mobile, but debugging is not convenient, although you can use chrome to simulate the phone side, but in fact the difference is a bit big, recently found a relatively good debugging tools, here to share a bit, although the online has been shared, but still want to write their own, Anyway, I can write my own happiness.
This tool is called: Debuggap
First download the program to the official website
http://www.debuggap.com/
After downloading the decompression is like this
Under the Client folder, there is a debuggap.js to take this JS file and put it in the file you want to test and introduce him into it.
Now we open this page to see this thing.
Click on it
Click Config, then open DebugGap.exe this program
Fill in config with this IP and port
Then refresh the page and open the page below to debug.
Debuggap recommended for mobile debugging tools.