File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,11 @@ node network devtools正是为了解决这个问题,它一个允许您使用ch
3434 - [x] show stack
3535 - [x] click to jump
3636 - [x] base
37- - [ ] Sourcemap
38- - [ ] WebSocket
39- - [ ] messages
40- - [ ] payload
41- - [ ] ...
37+ - [x ] Sourcemap
38+ - [x ] WebSocket
39+ - [x ] messages
40+ - [x ] payload
41+ - [x] headers
4242- [ ] Compatibility
4343 - [x] commonjs
4444 - [x] esmodule
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ The `RegisterOptions` interface is used to configure the registration options fo
99Here is an example of using ` RegisterOptions ` :
1010
1111``` typescript
12- import { RegisterOptions } from ' packages/ network-debugger/src/common '
12+ import { RegisterOptions , register } from ' node- network-devtools '
1313
1414const options: RegisterOptions = {
1515 port: 5270 ,
@@ -22,7 +22,7 @@ const options: RegisterOptions = {
2222}
2323
2424// Use options to register the network debugger
25- registerNetworkDebugger (options )
25+ register (options )
2626```
2727
2828### port
Original file line number Diff line number Diff line change 99以下是一个使用 ` RegisterOptions ` 的示例:
1010
1111``` typescript
12- import { RegisterOptions } from ' packages/ network-debugger/src/common '
12+ import { RegisterOptions , register } from ' node- network-devtools '
1313
1414const options: RegisterOptions = {
1515 port: 5270 ,
@@ -22,7 +22,7 @@ const options: RegisterOptions = {
2222}
2323
2424// 使用 options 进行网络调试器的注册
25- registerNetworkDebugger (options )
25+ register (options )
2626```
2727
2828### port
You can’t perform that action at this time.
0 commit comments