Who it is forA developer whose app shows a crash or runtime error and who needs the native and JavaScript side of the failure in one place.
The problemNative logs, Android logcat, and Metro console output are usually in separate tools, so tracing one error across them takes time.
The outcomeCodex receives the error and its stack trace from the logs and proposes a fix grounded in the actual failure.
What you need first
- Codex desktop on an Apple Silicon Mac
- Xcode 26 or later with a simulator runtime for iOS simulators
- Android SDK platform-tools and emulator, with an AVD or an authorized physical device, for Android
- GitHub read access and working Git authentication while the repository is private
- An existing local Metro server for Metro logs and React Native inspection
Steps
- Open Logs in Mobile Dev for the selected device.
- Follow the foreground app and use search or filters to narrow to the error.
- Send the error and its stack trace to chat.
- Ask Codex to explain the cause and propose a fix in your project.
Prompt for your agent
Using the callstackincubator/codex-mobile-dev-plugin Mobile Dev plugin, read the logs for the foreground app on <device name> and find the error matching <error text>. Expected output: a summary of the error with its stack trace and a proposed fix in <project path>. Verify the stack trace quoted matches the log entry before editing any file.
Caveat. Metro logs need an existing local Metro server, so the JavaScript side is only available when Metro is running.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for callstackincubator/codex-mobile-dev-plugin and "Debug an app error from combined native and JS logs"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer