denode
Debug node apps like a pro
Last updated 3 years ago by steelbrain .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install denode 
SYNC missed versions from official npm registry.

DeNode

DeNode is short for Debug Node, it's a tiny wrapper around Electron that lets you debug your Node apps using Chrome Dev Tools :tada:

Installation

npm install -g denode

Usage

denode
denode .
denode ./index.js
denode `which browserify` -r chalk main.js

To reload the app, simply press CTRL + R on Linux/Windows and CMD + R on Mac OSX.

Advanced Usage

DeNode tries to load options from the local package.json file, you can suppress this behavior by doing --ignore-local. Here are the magic fields it understands

{
  "name": "my-cool-app",
  "electronMain": "./electron.js",
  "electronOptions": {
    // All of BrowserWindow options are accepted here
  },
  "denodeOptions": [
    "DENODE_INSECURE" // Ignore certificate errors
  ]
}

The electronOptions field accepts all of BrowserWindow options, if electronMain is present, it is used instead of main.

Screenshot

DeNode

License

DeNode is licensed under the terms of MIT License, see the LICENSE file for more info.

Current Tags

  • 1.10.5                                ...           latest (3 years ago)

29 Versions

  • 1.10.5                                ...           3 years ago
  • 1.10.4                                ...           3 years ago
  • 1.10.3                                ...           3 years ago
  • 1.10.2                                ...           4 years ago
  • 1.10.1                                ...           4 years ago
  • 1.10.0                                ...           4 years ago
  • 1.9.0                                ...           4 years ago
  • 1.8.3                                ...           4 years ago
  • 1.8.2                                ...           4 years ago
  • 1.8.1                                ...           4 years ago
  • 1.8.0                                ...           4 years ago
  • 1.7.0                                ...           4 years ago
  • 1.6.3                                ...           4 years ago
  • 1.6.2                                ...           4 years ago
  • 1.6.1                                ...           4 years ago
  • 1.5.2                                ...           4 years ago
  • 1.5.1                                ...           4 years ago
  • 1.5.0                                ...           4 years ago
  • 1.4.0                                ...           4 years ago
  • 1.3.0                                ...           4 years ago
  • 1.2.2                                ...           4 years ago
  • 1.2.1                                ...           4 years ago
  • 1.2.0                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.4                                ...           4 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |