Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

javascript-breakpoint-collection

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

javascript-breakpoint-collection

Find out what part of your code is causing a behavior in the browser. For example, you can pause when the window scroll position is updated or when cookie data is written.

latest
Source
npmnpm
Version
1.7.0
Version published
Maintainers
1
Created
Source

JavaScript Breakpoint Collection Build status

Find out what part of your code is causing a behavior in the browser. For example, you can pause when the window scroll position is updated or when cookie data is written.

Live Demo

Either use the UI or add breakpoints from the console:

breakpoints.debugScroll()
breakpoints.debugPropertySet(obj, "propertyName", "trace") // trace instead of pausing
breakpoints.debugCookieWrites(function(){ /* whatever */ })
breakpoints.resetLastBreakpoint()

Learn more about the Console API.

Chrome Extension

Install from Chrome Web Store

Breakpoint Extension Screenshot

Example trace message:

Breakpoint Extension Trace Message Example

Bookmarklet

Get the bookmarklet

Snippet

Just paste the contents of this file in the console.

NPM

Download the module from NPM:

npm install javascript-breakpoint-collection

Then load the module:

var breakpoints = require("javascript-breakpoint-collection")

Development

See Contributing.md.

FAQs

Package last updated on 19 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts