██████╗ ██╗ ██╗██╗ ███████╗███████╗
██╔══██╗██║ ██║██║ ██╔════╝██╔════╝
██████╔╝██║ ██║██║ ███████╗█████╗
██╔═══╝ ██║ ██║██║ ╚════██║██╔══╝
██║ ╚██████╔╝███████╗███████║███████╗
╚═╝ ╚═════╝ ╚══════╝╚══════╝╚══════╝
React Native Debugging ReimaginedPulse is a standalone devtool built to debug your React Native 0.78+ apps with clarity and control.
It provides a real-time dashboard to visualize:
- ⚙️ Redux actions and state changes
- 🌐 Network requests (
fetch,axios) - 📝 Console logs and system events
- 🔍 Detailed request/response inspection
Built for developers who want to go beyond Flipper — Pulse gives you a focused debugging experience that works reliably across devices and emulators.
This repo contains two packages:
| Package | Description |
|---|---|
packages/react-native-pulse-debugger |
The Pulse SDK for React Native apps. Includes Redux middleware and network tracking utilities. |
packages/debugger |
The Electron + React app that serves as the Pulse desktop debugger. |
- ✅ Works with React Native 0.78+
- ✅ Time-stamped action/state tracking
- ✅ Full or diff-based Redux state inspection
- ✅ Network request/response logging (with duration + status)
- ✅ Console log streaming and filtering
- ✅ Zero config to get started
- ✅ Written in TypeScript
- ✅ Dark mode UI
- Download the latest release from the Releases page
- Install the app on your computer
- Launch the Pulse Debugger app
- Install the Pulse SDK in your React Native app:
TODO - UPDATE WITH PACKAGE NAME ONCE UPLOADED TO NPM
yarn add <NPM_PACKAGE_NAME>
# or
npm install <NPM_PACKAGE_NAME>- Connect your React Native app by following the Client SDK Usage instructions below
- Clone the repo
git clone https://github.com/your-org/react-native-pulse-debugger.git
cd react-native-pulse-debugger- Install dependencies
# At the root
yarn install- Run the debugger app in development mode
yarn debugger:devThis starts the Pulse debugger UI at ws://localhost:8973.
- Build the app for distribution
yarn debugger:buildThis will create distributable packages in the packages/debugger/dist directory.
Inside your React Native app:
yarn add react-native-pulse-debuggerIn your App.tsx or entry file:
import { initializePulse, getPulse } from 'react-native-pulse-debugger';
// Initialize Pulse Debugger
initializePulse({
host: 'localhost',
port: 8973,
autoConnect: true,
retryInterval: 5000,
});
// Optional: Configure event handling
const pulse = getPulse();
if (pulse) {
pulse.updateEventConfig({
enableBatching: false,
enableThrottling: false,
});
}In your Redux store configuration:
import { configureStore } from '@reduxjs/toolkit';
import { pulseReduxMiddleware } from 'react-native-pulse-debugger';
export const store = configureStore({
reducer: {
// your reducers...
},
middleware: getDefaultMiddleware => getDefaultMiddleware().concat(pulseReduxMiddleware),
});In your App.tsx or entry file:
import { pulseNetworkMiddleware, pulseConsoleMiddleware } from 'react-native-pulse-debugger';
// Apply network middleware to track fetch requests
global.fetch = pulseNetworkMiddleware(fetch);
// Apply console middleware to track console logs
global.console = pulseConsoleMiddleware(console);import { getPulse } from 'react-native-pulse-debugger';
import type { ConnectionStatus } from 'react-native-pulse-debugger';
function YourComponent() {
const [connectionStatus, setConnectionStatus] = useState<ConnectionStatus>('disconnected');
useEffect(() => {
const pulse = getPulse();
if (pulse) {
setConnectionStatus(pulse.getStatus());
}
}, []);
return (
<View>
<Text>Debugger Status: {connectionStatus}</Text>
</View>
);
}The desktop app is built with:
- ⚛️ React + Tailwind (dark mode)
- ⚡ Vite for fast bundling
- 🧩 Electron for native app support
It listens on port 8973 by default.
pulse/
├── packages/
│ ├── react-native-pulse-debugger/ # React Native SDK
│ └── debugger/ # Electron + React debugger UI
├── package.json # Root workspace config
└── README.md
- Action re-dispatch (time travel)
- AsyncStorage visualizer
- Network request mocking
Pull requests, ideas, and bug reports are welcome!
Check out CONTRIBUTING.md for guidelines.
MIT License © 2024 Scott Harrison
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.