A kraken plugin which starting a service to provide Chrome DevTools support.
First, add kraken_devtools
as a dependency in your pubspec.yaml file.
import 'package:kraken_devtools/kraken_devtools.dart';
Kraken kraken = Kraken(
// ...
devToolsService: ChromeDevToolsService(),
);
When kraken app started, there will be logs printed in terminal like below.
flutter: Kraken DevTool listening at ws:https://127.0.0.1:9222
flutter: Open Chrome/Edge and paste following url to your navigator:
flutter: devtools:https://devtools/bundled/inspector.html?ws=127.0.0.1:9222
Open Chrome/Edge and paste url started with 'devtools:https://' to your navigator.
DOM inspector
Console Panel
JavaScript Debugger
Not supported in quickjs engine now.