Skip to content

Commit

Permalink
docs: adjust webstorm debug config (#1367)
Browse files Browse the repository at this point in the history
  • Loading branch information
atian25 authored and popomore committed Aug 30, 2017
1 parent 4994543 commit eef30fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/zh-cn/core/development.md
Expand Up @@ -275,12 +275,12 @@ $ DEBUG=egg* npm run dev
```json
{
"scripts": {
"debug": "egg-bin dev $NODE_DEBUG_OPTION"
"debug": "egg-bin debug"
}
}
```

> 目前 WebStorm 还不支持 `--inspect` 故不能使用 `egg-bin debug`,暂时使用 `egg-bin dev --debug` 的方式
`egg-bin` 会自动读取 WebStorm 调试模式下设置的环境变量 `$NODE_DEBUG_OPTION`

使用 WebStorm 的 npm 调试启动即可:

Expand Down

0 comments on commit eef30fa

Please sign in to comment.