wirebird
v0.2.5
Published
DevTools / Network for Node.js
Downloads
1,442
Maintainers
Readme
Wirebird
HTTP requests debugger for Node.js. Use Wirebird to inspect requests your Node.js application makes.
It's very similar to Chrome DevTools, but for Node.js.
Installation
In order to sniff outgoing HTTP traffic from your Node.js application,
you have to install wirebird-client
and attach it to the inspected process.
In order to view the requests you need to install wirebird
globally and run it.
Install Wirebird globally
npm i -g wirebird
Add wirebird-client to your project
npm i -D wirebird-client
Now it's time to attach wirebird-client
.
For example, if your project used to be run by the following command:
npm run dev
, now you need to replace it with:
npx wbenv ui npm run dev
Usage
To start Wirebird, run:
wirebird
You can change the default port:
wirebird --port 3000
# or:
wirebird -p 3000
Also if you dont need to start browser automatically, you can disable it:
wirebird --headless
# or:
wirebird -H