Autobreakpointer
Automated JavaScript Debugging Tool using CDP - Automatically sets breakpoints for specified strings/patterns in JavaScript code
Install / Use
/learn @m4ll0k/AutobreakpointerREADME
AutoBreakpointer
AutoBreakpointer (beta v1.1.0) is a Chrome DevTools Protocol based tool that automatically sets breakpoints for specified strings or patterns in JavaScript code. It's particularly useful for debugging and monitoring specific JavaScript functions or properties across multiple files when you test your targets!
Installation
git clone https://github.com/m4ll0k/autobreakpointer.git
cd autobreakpointer
npm install
Usage
CLI Usage
# Run your chrome
google-chrome --remote-debugging-port=9222
# Track specific string
node src/autobreakpointer.js "document.cookie"
# Default tracking location.search
node src/autobreakpointer.js
# Track multiple strings
node src/autobreakpointer.js "location.search|.innerHTML|document.write"
demo
Programmatic Usage
const AutoBreakpointer = require('./src/autobreakpointer');
const debugger = new AutoBreakpointer({
target: 'localStorage.getItem',
autoResume: true,
caseSensitive: true,
jsFilesOnly: true,
urlPattern: '.js'
});
debugger.start();
Configuration Options
target: String to track (default: 'location.search')autoResume: Automatically resume after hitting breakpoint (default: false)caseSensitive: Case sensitive search (default: true)jsFilesOnly: Only track .js files (default: true)urlPattern: File pattern to match (default: '.js')
Requirements
- Node.js >= 12
- Chrome/Chromium browser
- chrome-remote-interface
License
MIT
Related Skills
node-connect
339.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.8kCommit, push, and open a PR
