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 Node and Electron renderer process scripts

  • 0.34.0
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Overview

Easily Debug Node and Electron renderer process scripts.

Usage

  1. Install debugger

    npm install -g debugger
    
  2. To debug a script or electron renderer web page

    debugger script.js
    

    or

    debugger index.html
    
  3. Press Command + R (OSX) or Control + R (Windows/Linux) to reload the script.

Contributing

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

     npm link .
    

Credits

  • Special thanks to Camilo Aguilar (c4milo/@c4milo) for releasing the debugger module name for this project's usage
  • electron for making desktop apps so easy to make
  • electron-prebuilt for making electron even easier to use in projects

Todos

  • Switch to using commander to get better command line instructions.
  • Add support for a switch to show the browserwindow for people who want to test code that requires a DOM and browser APIs.
  • Add support for -v to output the electron, v8, and node versions as well.
  • Add support for watching for changes to the script and auto reloading

FAQs

Package last updated on 31 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

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