onServerStart method

void onServerStart(
  1. int port
)

Implementation

void onServerStart(int port) async {
  String remoteAddress = await UIInspector.getConnectedLocalNetworkAddress();
  String inspectorURL = '$INSPECTOR_URL?ws=$remoteAddress:$port';
  await ClipBoardModule.writeText(inspectorURL);

  print('Kraken DevTool listening at ws://$remoteAddress:$port');
  print('Open Chrome/Edge and paste following url to your navigator:');
  print('    $inspectorURL');
}