Giter VIP home page Giter VIP logo

inline-console's Introduction

Inline Console

Easily add a JavaScript debugging console to the bottom of the page (creating an inline developer console).

Built in browser consoles like those provided in Chrome or FireFox are far superior to what you will see in this console. However, this console is designed to help with situations where the browser does not provide a native developer console, like with iOS's mobile safari. So, for example, using this tool you can now have a developer console when working on an application on a iPad or iPhone even if you don't have a Mac handy.

To use this:

  • Simply place the inline-console.js file in your web project (somewhere like /js/vendor if you are using something like HTML5Boilerplate.com).
  • Add this line to any page you want to add the inline developer console too:
<script src="/inline-console.min.js"></script>

That's it. Refresh your page and the developer console will appear at the bottom of the page.


Features

  • The console will display any console.log(), console.error(), console.warn(), or console.info() output.
  • Each type of output is color coded.
  • Any output that is longer then a few lines will also include a show/hide button to help make reading the output a bit easier.
  • The console also logs XMLHttpRequest calls, even if invoked by a framework like jQuery or AngularJS. The console will let you know when the request is sent, and when the response is received (and if it was an error). Each HTTP request will receive a request number, so you can track multiple asynchronous HTTP requests.

inline-console's People

Contributors

rwblackburn avatar aarondill 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.