react-native-vdebug

1.2.2 • Public • Published

react-native-vdebug

NPM Version NPM Downloads install size

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

Usage

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 <VDebug 
  // Expansion panel (Optional)
  panels={[
    title:'your title',
    component: your component
  ]} 
  // Info panel (Optional)
  info={{ obj: 'your object' }} 
/>

Snapshot





✶ MIT ✶

Package Sidebar

Install

npm i react-native-vdebug

Weekly Downloads

6

Version

1.2.2

License

ISC

Unpacked Size

50.7 kB

Total Files

12

Last publish

Collaborators

  • itenl