文件最后提交记录最后更新时间
2 个月前
11 天前
11 天前
1 天前
2 个月前
2 个月前
README

Introduction

DevTools Backend is the Backend Service of FlexUI Debugging DevTools, that mainly to establish connecting channel which support websocket and tcp, distributes debugging CDP and TDF protocol, and collect debugging data of frameworks and Renderers.

Getting started

Architecture

devtools Architecture

  • Tunnel Service, /tunnel dir, to handle connecting channel with frontend, which support websocket and tcp.
  • Domain Dispatch, /module dir, to dispatch debugging CDP and TDF protocol by Domain.Method.
  • Data Provider, /api dir, to collect debugging data of frameworks and Renderers. There has two ways to inject debugging data, one is to implement adapter interface which received from frontend, and the other is the notification to notify frontend.

Unit Test

  1. first install test tools:
brew install lcov
  1. open terminal and run:
cmake .
cd test
sh build.sh