Muestra en la barra de estado la URL del Isar Inspector detectada en la Debug Console de Flutter
Displays the Isar Inspector URL from Flutter Debug Console directly in your VS Code status bar
Isar URL Status is a lightweight VS Code extension for Flutter developers using Isar. When you run a Flutter app in debug mode, Isar prints a unique Inspector URL like:
https://inspect.isar-community.dev/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
This extension automatically:
- π Detects the URL from the Debug Console output.
- π Shows a clickable
π Isar Inspectorbutton in the status bar. - π Opens the Isar Inspector in your default browser with one click.
- π§Ή Hides the button when the debug session ends.
No configuration needed β it just works.
| Feature | Description |
|---|---|
| π Auto-detect | Captures the Isar Inspector URL from Flutter debug output |
| οΏ½ Custom server | Rewrites the detected URL to your custom/local Isar Inspector server |
| π±οΈ One-click open | Click the button β opens in your default browser |
| π Copy URL | Command to copy the Inspector URL to your clipboard |
| π§Ό Auto-clean | Strips ANSI escape codes and trailing junk from the URL |
| π« Auto-hide | Disappears when the debug session terminates |
| β‘ Lazy activation | Only activates when you start debugging (onDebug) |
Status bar showing the
π Isar Inspectorbutton with tooltip β one click opens the Inspector in your browser.
- Open VS Code.
- Go to Extensions (
Ctrl+Shift+X/Cmd+Shift+X). - Search for "Isar URL Status".
- Click Install.
- Download the
.vsixfile from Releases. - In VS Code: Extensions β
β―(More Actions) β Install from VSIX.... - Select the file.
git clone https://github.com/chacalcamps/Isar_Url_Status.git
cd Isar_Url_Status
npm install
npm run compileThen press F5 in VS Code to launch an Extension Development Host.
- Start debugging your Flutter app (the extension activates automatically).
- Run your app with Isar enabled β the Inspector URL will appear in the Debug Console.
- Click the
π Isar Inspectorbutton in the status bar (bottom-right). - The Isar Inspector opens in your default browser.
That's it. No commands to run, no config to set.
If you prefer, you can also run the commands from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P):
Open Isar Inspector URLβ opens the Inspector in your default browser.Copy Isar Inspector URLβ copies the URL to your clipboard.
You can point the Inspector to a custom server (e.g. a locally built version of the Inspector) instead of the default inspect.isar-community.dev. The extension can also start the server automatically.
-
Configure the custom server in settings (Settings β
Ctrl+,/Cmd+,):isarUrlStatus.customServerUrlβhttp://localhost:5050isarUrlStatus.customServerCommandβnpx serve build/web -l 5050isarUrlStatus.customServerCwdβ<custom-inspector-dir>(e.g.packages/isar_community_inspector)
-
Run your Flutter app. When the Inspector URL is detected, the extension starts the local server (if not running yet) and rewrites the URL:
https://inspect.isar-community.dev/3.3.2/#/64777/e0aGj9gzn_o β http://localhost:5050/#/64777/e0aGj9gzn_o -
Click
π Isar Inspectorto open the local URL, or useCopy Isar Inspector URLfrom the Command Palette to copy it.
π‘ Set
isarUrlStatus.customServerCommandto an empty string to disable auto-start (e.g. if you run the server yourself). LeaveisarUrlStatus.customServerUrlempty to use the default Inspector URL.
| Setting | Type | Default | Description |
|---|---|---|---|
isarUrlStatus.customServerUrl |
string |
"" |
Custom Isar Inspector server base URL (e.g. http://localhost:5050). When set, detected URLs are rewritten to this server. Empty = use the default Inspector URL. |
isarUrlStatus.customServerCommand |
string |
npx serve build/web -l 5050 |
Command to auto-start the custom Inspector server. Runs in customServerCwd. Empty = no auto-start. |
isarUrlStatus.customServerCwd |
string |
...isar_community_inspector |
Working directory for the custom server command. |
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Watch mode
npm run watch
# Package into .vsix (requires vsce)
npx vsce packageisar-url-status/
βββ src/
β βββ extension.ts # Extension source code
βββ out/ # Compiled JavaScript
βββ package.json # Extension manifest
βββ tsconfig.json # TypeScript configuration
βββ .vscode/
βββ launch.json # Debug configuration
The extension uses VS Code's DebugAdapterTracker API to intercept DAP (Debug Adapter Protocol) messages from the Dart debug adapter. It listens for output events and scans them for the Isar Inspector URL regex pattern. When found, the URL is cleaned (ANSI escapes removed) and displayed in the status bar.
// Core detection logic (simplified)
const ISAR_URL_RE = /https:\/\/inspect\.isar-community\.dev\/\S+/;
// β matches output from Flutter's Isar database- Only works with the Dart/Flutter debug adapter (
dartdebug type).
- Support for custom Isar Inspector URLs / local servers.
- Multi-session support (multiple debug sessions simultaneously).
- VS Code Marketplace publication.
Contributions are welcome!
- Fork the repository.
- Create a feature branch (
git checkout -b feature/amazing-feature). - Commit your changes (
git commit -m 'Add amazing feature'). - Push to the branch (
git push origin feature/amazing-feature). - Open a Pull Request.
Please ensure your code compiles with npm run compile before submitting.
This extension was built with significant help from DeepSeek (orchestrated via Reasonix). Every decision β architecture, API choice (DebugAdapterTracker), regex design, error handling, CI/CD setup β was reviewed and approved by a human. The AI wrote the first pass; the human validated, adjusted, and owned the result.
This is not "vibecoding" β no blind copy-paste, no "it compiles, ship it". AI was a pair programmer that drafts fast; the human stays responsible for every line that ships.
Distributed under the MIT License. See LICENSE for more information.
- Isar Community β the awesome Flutter/Dart database.
- VS Code Extension API β for the powerful debug integration interfaces.
Made with β€οΈ for the Flutter + Isar community
