Flutter Network Inspector for VS Code
A fast, lightweight, in-editor alternative to Flutter DevTools Network Inspector for Visual Studio Code. Inspect HTTP & HTTPS traffic from your running Flutter applications (Dio and Features
Installation & Getting Started1. Install ExtensionDownload the
2. Launch Your Flutter ApplicationStart your Flutter app in VS Code debugging mode ( 3. Open the Network InspectorOpen the Flutter Network Inspector by clicking the Network icon in the VS Code Activity Bar (left sidebar) or via the Command Palette (
4. Connection
Optional Companion Dio InterceptorFor standard JSON REST APIs, zero application changes are required. If you are using multipart
|
| Setting | Type | Default | Description |
|---|---|---|---|
flutterNetworkInspector.autoConnect |
boolean |
true |
Automatically connect to running Flutter debug sessions. |
flutterNetworkInspector.pollingIntervalMs |
number |
400 |
Adaptive polling interval (ms) for VM Service HTTP profiling. |
flutterNetworkInspector.maxRequests |
number |
1000 |
Maximum number of retained requests in memory before FIFO eviction. |
flutterNetworkInspector.maxBodySizeBytes |
number |
524288 |
Maximum in-memory size per request or response body (512 KB). |
flutterNetworkInspector.maxTotalBodyBudgetMB |
number |
20 |
Total body memory budget in MB before evicting bodies of older requests. |
flutterNetworkInspector.sensitiveHeaders |
array |
["authorization", ...] |
Headers to redact automatically in UI, cURL, and exports. |
flutterNetworkInspector.sensitiveQueryParams |
array |
["token", "api_key", ...] |
URL query parameters to redact automatically in UI and exports. |
flutterNetworkInspector.debugLogging |
boolean |
false |
Enable verbose diagnostic logging to the Output Channel. |
Development & Testing
Prerequisites
- Node.js (>= 20.x)
- Dart SDK (>= 3.0.0)
- Flutter SDK (>= 3.0.0)
Build the VS Code Extension
npm install
npm run compile
Run Automated Tests
# Run TypeScript extension tests
npm test
# Run Dart Engine unit tests
cd dart_engine
dart test
dart analyze
# Run Companion Dio package tests
cd ../packages/flutter_network_inspector_dio
dart test
dart analyze
# Run Example Flutter test app
cd ../../example
flutter test
flutter analyze
Package into .vsix
npx vsce package
Architecture & Technical Documentation
Author & Maintainer
- Developer: Vaibhav Ghadge
- Publisher:
VroyCLe - LinkedIn: https://www.linkedin.com/in/vaibhav-ghadge-315841168/