No laptop? No problem. Code on the Go brings the debugger to your phone
6 hours ago
- #Mobile IDE
- #Debugging
- #Android Development
- Code on the Go (CoGo™) enables debugging on a single Android device without a PC, cable, or external connections.
- It uses a local socket-based approach with Java Debug Wire Protocol (JDWP) instead of the traditional ADB bridge model.
- Privileged access is bootstrapped via a modified version of Shizuku, leveraging wireless debugging pairing for shell-level access.
- The target app is launched in debug mode using the --attach-agent flag to inject libjdwp.so, establishing a debug connection.
- The IDE communicates via JDI using sun-jdi.jar from AOSP, enabling breakpoints, stepping, variable inspection, and editing.
- Current limitations include Java-only debugging, primitive variable editing only, user-dependent bootstrapping, and reliance on system JDWP.
- Future plans include Kotlin support, conditional breakpoints, expression evaluation, and attaching to running processes.