React-Native 调试工具,支持Console终端、Network导出cURL,可视化Response,Retry cURL。
React-Native 调试工具
Install NodeJS and suggest >= 8.11.0
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' }}
/>