kraken_devtools 0.4.0-dev.1 kraken_devtools: ^0.4.0-dev.1 copied to clipboard
A kraken plugin which open a service to support Chrome DevTools for debugging.
Kraken Devtools #
A kraken plugin which starting a service to provide Chrome DevTools support.
Install #
First, add kraken_devtools
as a dependency in your pubspec.yaml file.
import 'package:kraken_devtools/kraken_devtools.dart';
Kraken kraken = Kraken(
// ...
devToolsService: ChromeDevToolsService(),
);
How to use #
When kraken app started, there will be logs printed in terminal like below.
flutter: Kraken DevTool listening at ws://127.0.0.1:9222
flutter: Open Chrome/Edge and paste following url to your navigator:
flutter: devtools://devtools/bundled/inspector.html?ws=127.0.0.1:9222
Open Chrome/Edge and paste url started with 'devtools://' to your navigator.
Features #
DOM inspector
Console Panel
JavaScript Debugger