Coder Social home page Coder Social logo

remoteconsole's Introduction

#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 :)

UI from revision 3

##Socket server

  1. Download the latest version by clicking get zip
  2. Unpack the .zip-file to directory of your choosing
  3. Install node.js
  4. to install node.js modules, type:
    1. npm install express
    2. npm install socket.io

Apache

I assume you run socket server and apache at same machine.

  1. Copy "apache"-folder to your webserver
  2. Change all "localhost" to point your socket servers url at debug.js and index.html

Debugger

  1. copy and load "apache/debug.js" to your phonegap/html/whatever project
  2. Change all "localhost" to point your socket servers url at debug.js and index.html
  3. add line: <script src="debug.js" />
  4. enjoy remote debugger

Note

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.

remoteconsole's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.