Question

Is there any plugin or anything that allow easier web debugging on mobile browser? I have done some searching and I find about weinre. But it seems complicated to setup. I also tried with debug.phonegap.com. But it end up not working that it says "Target not connected".

So, is there any other way like plugin or weinre alternative for debugging like firebug?

Thank you.

Was it helpful?

Solution

Best bet is weinre.

It's really not that complicated to setup. Just get nodejs installed.

When node is installed type npm install -g weinre to install weinre.

Then type weinre --boundHost 0.0.0.0, it'll start weinre on your computer at port 8080.

Paste in the following in your HTML, replace 0.0.0.0 with your computers IP address, and you're ready to start debugging:

<script src="http://0.0.0.0:8080/target/target-script-min.js#anonymous"></script>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top