mdebug
A lightweight, easy to extend web debugging tool developed based on react.
Easy to use |
Full-featured |
Easy to expand |
high performance |
---|---|---|---|
Use the cdn method, one-click access | Similar to Chrome devtools, supports log, network, storage, performance, etc., has better network capture capabilities and rich log display | Expose rich internal events, which can be seamlessly integrated with react components | Support large amount of data display, no lag |
Examples
- Vanilla
Installation
Install using npm
npm install mdebug --save
Useage
1. ES6
2.CDN
API
1. init
2. addPlugin
3. removePlugin
4. exportLog
5. on
6. emit
Event list
Event name | params | Trigger timing |
---|---|---|
ready | object | mdebug loaded |
addTab | object | Add panel |
removeTab | array | Remove panel |
changeTab | object | Panel switch |
development
- npm i
- npm start
- npm run build