Files
Hippy/devtools/devtools-backend
wufan 4b70dc8a3d feat(devtools): add vfs network debugging (#2600)
* feat(devtools): add vfs network processor for devtools

* feat(devtools): move vfs to devtools

* fix(devtools): fix ios vfs for devtools include

* fix(ios): remove inspectorSourceURLForBridge

* chore(devtools): refactor vfs for devtools

* feat(devtools): replace base64 lib

* chore(devtools): adapter vfs intercept

* feat(devtools): move vfs handler to devtools

* fix(devtools): ios base64 compile error

* feat(devtools): add base64 so include for ios

* feat(devtools): move jni_env to outerside
2022-11-07 11:37:05 +08:00
..
2022-05-30 07:09:49 -05:00
2022-05-30 07:09:49 -05: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

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