I have been trying to find a way to open the Isar database inspector.
Does anyone know how to open the inspector?
I have been trying to find a way to open the Isar database inspector.
Does anyone know how to open the inspector?
inspector:true
in Isar.open()Isar.open(
schemas: [...],
directory: dir.path,
inspector: true,
);
Download and install the isar inspector here for windows and here for mac
Look for this link in the logs ws://127.0.0.1:63001/addadada=/
copy it.
flutter: ╔════════════════════════════════════════╗
flutter: ║ ISAR CONNECT STARTED ║
flutter: ╟────────────────────────────────────────╢
flutter: ║ Open the Isar Inspector and enter the ║
flutter: ║ following URL to connect: ║
flutter: ╟────────────────────────────────────────╢
flutter: ║ ws://127.0.0.1:63001/addadada=/ ║
flutter: ╚════════════════════════════════════════╝
According to ISAR homepage, there are now only an executable to access the inspector, with the link generated in debug output, just for Mac (https://github.com/isar/isar) and in issues discussion, #snhmehta posted a Windows version (https://github.com/isar/isar/issues/90).
Just remember to enable the inspector with inspect:true
in your application.