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 - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

4

package.json
{
"name": "debugger",
"version": "0.6.0",
"description": "Easily debug or just run apps in electron or node. Remote debugging also supported.",
"version": "0.6.1",
"description": "Easily Debug Node Apps",
"main": "index.js",

@@ -6,0 +6,0 @@ "scripts": {

### 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.
A work in progress. See [Todos](#todos). Limitations:
- Regular node.js app debugging only for now
- OSX only for now (Pull Requests welcome)
### Usage
1. Install debugger
1. Install ```debugger```
npm install -g debugger
2. To Debug A script
2. To debug a script

@@ -18,19 +19,28 @@ debugger your-script.js

### 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
### Credits
- Special thanks to Camilo Aguilar ([c4milo](https://github.com/c4milo)/[@c4milo](https://twitter.com/c4milo)) for releasing the ```debugger``` module name for this projects usage
- [node-inspector](https://www.npmjs.com/package/node-inspector) for the heavy lifting in debugging
- [electron](http://electron.atom.io/) for making desktop apps so easy to make
- [electron-prebuilt](https://www.npmjs.com/package/electron-prebuilt) for making electron even easier to use in projects
### Todos
We're be extracting the debugger logic we made for remote debugging our robots into a reusable module.
- 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 Windows/Linux support
- 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 this project has a unique value proposition.
- 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
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
ln -s -f $("pwd")/bin/debugger.js /usr/local/bin/debugger

Sorry, the diff of this file is not supported yet

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