Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
Lloyd Brookes edited this pageJun 23, 2019 ·5 revisions

Setting the--verbose flag outputs a highly verbose JSON stream containing debug information. It is intended to aid debugging and to provide a datasource for custom views.

Anymiddleware module can send information to the verbose stream with this line (wherekey is a identifying string e.g.middleware.example.config andvalue is the information to send).

this.emit('verbose',key,value)

Verbose stream filtering

You may hand-pick the keys to display in the verbose stream using--verbose.include and--verbose.exclude. Each option implies--verbose and accepts one or more regular expressions.

This command outputs only information regarding therewrite middleware.

$ ws --verbose.include rewrite

Include onlyrequest andresponse info.

ws --verbose.include request response

Print everything exceptsocket andmiddleware information.

$ ws --verbose.exclude socket middleware

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp