You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dart_packages/dio_debugger/README.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# dio_debugger
2
2
3
+
> Part of the [network_debugger](https://pub.dev/packages/network_debugger) ecosystem
4
+
3
5
Lightweight utility that patches the provided `Dio` and attaches a reverse/forward proxy interceptor. Useful for local debugging, traffic interception, and bypassing CORS/certificates via your local proxy.
4
6
5
7
## Features
@@ -22,6 +24,22 @@ dependencies:
22
24
dio_debugger: ^0.1.2
23
25
```
24
26
27
+
## Starting the Proxy
28
+
29
+
Before using `dio_debugger`, you need to start the network debugger proxy server. Install and run it with:
30
+
31
+
```bash
32
+
# Install the CLI globally
33
+
dart pub global activate network_debugger
34
+
35
+
# Start the proxy (default port 9091)
36
+
network_debugger
37
+
```
38
+
39
+
The proxy will start on `http://localhost:9091` and automatically open the web UI where you can inspect all intercepted traffic.
40
+
41
+
For more options and programmatic usage, see the [network_debugger package documentation](https://pub.dev/packages/network_debugger).
Copy file name to clipboardExpand all lines: dart_packages/network_debugger/README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,9 @@
1
1
# network_debugger
2
2
3
-
Dart package that automatically downloads, caches, and launches the `network-debugger-web` binary for easy network debugging.
3
+

4
+
5
+
6
+
Simple universal tool for debugging HTTP and WebSocket. Suitable for local development and test environments. Has web interface (opens in browser), desktop and CLI.
4
7
5
8
## Features
6
9
@@ -19,7 +22,7 @@ The easiest way to use the network debugger is via the CLI tool:
One-call helper to attach a proxy to a Socket.IO client (reverse/forward modes).
3
+
> Part of the [network_debugger](https://pub.dev/packages/network_debugger) ecosystem
5
4
6
-
Example:
5
+
One-call helper to attach a proxy to a Socket.IO client (reverse/forward modes). Useful for local debugging, traffic interception, and bypassing CORS/certificates via your local proxy.
0 commit comments