Skip to content
Permalink
Browse files

docs: add readme

  • Loading branch information
atian25 authored and fengmk2 committed Sep 13, 2017
1 parent 469739f commit 2be52459ed22dd3c0a22b080f7e29ae876d2914f
Showing with 11 additions and 1 deletion.
  1. +11 −1 README.md
@@ -85,10 +85,20 @@ $ egg-bin dev

Debug egg app with [V8 Inspector Integration](https://nodejs.org/api/debugger.html#debugger_v8_inspector_integration_for_node_js).

automatically detect the protocol used by the targeted runtime, 8.0+ the new 'inspector' protocol is used.

use [inspector-proxy](https://github.com/whxaxes/inspector-proxy) to proxy worker debug, so you don't need to worry about reload.

```bash
$ egg-bin debug
$ egg-bin debug --debug-port=9229 --proxy=9999
```

##### options

- all `egg-bin dev` options is accepted.
- `--proxy=9999` worker debug proxy port.


### test

Using [mocha] with [co-mocha] to run test.

0 comments on commit 2be5245

Please sign in to comment.
You can’t perform that action at this time.