user1995781
user1995781

Reputation: 19463

Android / mobile browser developer tool for debugging

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.

Upvotes: 0

Views: 699

Answers (1)

gaqzi
gaqzi

Reputation: 3807

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>

Upvotes: 2

Related Questions