eggjs / eggjs/bin

【功能需求】--inspect-brk 支持指定 debugger ip 和 port

Open
#271 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
191
Forks
52
PR merge metrics
No merged PRs in 30d

Description

### 现状:
目前 --inspect-brk 选项无法支持自定义 ip 和 port,对于一些需要开启远程调试或者定制端口的场景,无法满足需求。

### 期望:
能够支持形如`egg-bin dev --inspect-brk=0.0.0.0:9999` 指定 debugger 的 ip 和 port 的配置方式。

参考 nodejs 的 options:https://nodejs.org/en/learn/getting-started/debugging#enabling-remote-debugging-scenarios

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.