Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

debugger

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

debugger

Easily debug or just run apps in electron or node. Remote debugging also supported.

  • 0.5.0
  • npm
  • Socket score

Version published
Weekly downloads
73
increased by43.14%
Maintainers
1
Weekly downloads
 
Created
Source

Overview

Work in progress. We're be extracting the debugger logic we made for remote debugging our robots into a reusable module. Supported:

  • Debugging regular node.js apps.

Usage

  1. Install debugger

    npm install -g debugger
    
  2. To Debug A script

    debugger your-script.js
    
  3. The Debugger App should now be open with devtools ready to go. NOTE: Right now it will set a breakpoint on the first line, there's a todo to make configure this with an command line argument

Todo

- [ ] Don't set a break point on startup, instead make it --debug-brk an option
- [ ] Support debugging electron apps
- [ ] Support remote debugging
  - [ ] Of node apps
  - [ ] Of Electron apps
- [ ] Add cross platform shortcuts for reload and dev tools toggle as in [electron-debug](https://www.npmjs.com/package/electron-debug)
  - [ ] Make sure menu shows proper platform shortcut
- [ ] Checkout [Chrome DevTools App](https://kenneth.io/blog/2014/12/28/taking-chrome-devtools-outside-the-browser/) to make sure I'm not reinventing the wheel.
- [ ] Potentially add support for remote debugging over an ssh tunnel to make debugging an app on an arbitrary server easy

Contributing

  1. To make your global debugger command point to your local code. Run the following from the debugger source root folder:

    ln -s -f $("pwd")/bin/debugger.js /usr/local/bin/debugger

FAQs

Package last updated on 06 Oct 2015

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc