Coder Social home page Coder Social logo

break's Introduction

break🔴

Simple Chrome extension to put "debugger" on any webpage so that it pauses page's execution

Description

Have you wanted to pause execution of some web-page so that you can inspect the state of the page or various elements on it at some given moment. This of course can be trivial if you're trying to do this to your own website on localhost since you could just set a break-point or add the "debugger" keyword on the code. This however is not the case for other websites you may not own or have access to source code to. One workaround could be to manually enter the "debugger" keyword in the dev console but this can get complicated with dynamic pages and if you want to inspect the page mid transitions. break🔴 is built for this very use-case in mind.

break🔴 inserts "debugger" keyword in the current web-page. This means when you press a set combination of keys, it sets a break-point and halts the execution of the web-page😎

Instructions:

  1. Default mode By default, pressing Ctrl + ` will activate the debugger in any web-page with 0 seconds of timeout delay

  2. Custom mode Contrarily, you could set your own key combo and timeout to trigger the debugger break. Press Ctrl + <your_choice_of_letter> to trigger debugger in <your_choice_of_time> seconds.

Important Notes (Please read):

  1. The Dev Console must be open on the webpage for this to work
  2. The key press events are expected to come from the webpage's body so make sure to switch to the context of the webpage by clicking on any part of its body before triggering the debugger
  3. The default mode is active by default and needs no explicit activation
  4. The default mode can't be overwritten
  5. Custom settings get eliminated as soon as you refresh the webpage and don't persist across pages
  6. Any previous settings can't be overwritten unless the webpage is refreshed (except the default)
  7. <Space_bar> key can't be used for the key combos
  8. Negative values in the number input field will be interpreted as 0

Screenshots

  1. Gmail paused Screenshot_1
  2. Popup
    Screenshot_2

break's People

Contributors

anmolshres avatar

Stargazers

Chiantine P. Manigos avatar Oliver Joseph Ash avatar  avatar

Watchers

 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.