Skip to content

Latest commit

 

History

History
 
 

devtools

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Kraken Devtools pub package

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: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.

Features

DOM inspector

image

Console Panel

image

JavaScript Debugger

Not supported in quickjs engine now.

image