#Very simple remote javascript logger and error debugger I had troubles to debug windows phone javascript errors when using phonegap. This tries to solve the problem - at least partially. Future plans is to serve all content using node.js and make the error reporting to look better. Anyway it works for me :)
##Socket server
- Download the latest version by clicking get zip
- Unpack the .zip-file to directory of your choosing
- Install node.js
- to install node.js modules, type:
- npm install express
- npm install socket.io
I assume you run socket server and apache at same machine.
- Copy "apache"-folder to your webserver
- Change all "localhost" to point your socket servers url at debug.js and index.html
- copy and load "apache/debug.js" to your phonegap/html/whatever project
- Change all "localhost" to point your socket servers url at debug.js and index.html
- add line:
<script src="debug.js" />
- enjoy remote debugger
if for some reasons console.log("something"), doesn't work, ie. the method doesn't get overwritten, use log("something") to send log to remote part.