mirror of
https://github.com/Tencent/Hippy.git
synced 2026-10-17 04:41:51 +08:00
Introduction
DevTools Backend is the Backend Service of Hippy 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
- 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
adapterinterface which received from frontend, and the other is the notification to notify frontend.
Unit Test
- first install test tools:
brew install lcov
- open terminal and run:
cmake .
cd test
sh build.sh
