https://github.com/itenl/react-native-vdebug
React-Native 调试工具,支持Console终端、Network导出cURL,可视化Response,Retry cURL。
https://github.com/itenl/react-native-vdebug
curl debug debugger react react-native vconsole vdebug
Last synced: 3 months ago
JSON representation
React-Native 调试工具,支持Console终端、Network导出cURL,可视化Response,Retry cURL。
- Host: GitHub
- URL: https://github.com/itenl/react-native-vdebug
- Owner: itenl
- License: mit
- Created: 2020-10-06T08:51:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-28T11:29:12.000Z (almost 4 years ago)
- Last Synced: 2025-03-18T13:15:32.893Z (3 months ago)
- Topics: curl, debug, debugger, react, react-native, vconsole, vdebug
- Language: JavaScript
- Homepage:
- Size: 4.28 MB
- Stars: 130
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-native-vdebug
[](https://www.npmjs.org/package/react-native-vdebug)
[](https://npmcharts.com/compare/react-native-vdebug?minimal=true)
[](https://packagephobia.now.sh/result?p=react-native-vdebug)`React-Native 调试工具`
### 支持情况
- [x] Command 自定义上下文
- [x] 复制 cURL 至粘贴板
- [x] 重新请求 URL
- [x] 可视化 Response
- [x] Log 等级分类
- [x] 关键字过滤 Log / Network
- [x] Command 历史记录
- [ ] 导出所有 Log / Network (ing...)## Install
[Install NodeJS and suggest >= 8.11.0](https://nodejs.org/zh-cn/)
## Usage
```JavaScript
npm install 'react-native-vdebug'import VDebug, { initTrace, setExternalContext } from 'react-native-vdebug';
// Before component Render, perform Proxy Console/Network (Optional)
initTrace()// Context object when the command is executed (Optional)
setExternalContext('your context')return
```
## Snapshot
![]()
![]()
![]()
-------------------
[初始版本](https://github.com/fwon/RNVConsole) / [✶ MIT ✶](./LICENSE)