niddler
Niddler is a network debugging utility for Android and Java applications that captures and caches network requests and responses, exposing them over a websocket-based protocol. It provides an OkHttpClient interceptor for seamless integration and a no-op variant for release builds, allowing teams to drop in debugging without impacting production. Key features include request and response caching, support for both Android and plain Java environments, integration with Square's OkHttpClient, optional Retrofit support with stack trace injection, URL-based blacklisting, and a lifecycle-aware Android service with auto-discovery. Configuration is flexible, supporting manual start and stop or automatic lifecycle attachment. Niddler is designed to work with Niddler-ui, an IntelliJ and Android Studio plugin that visualizes network activity, enables navigation through JSON and XML responses, and provides debugging tools for the captured requests. Typical use cases include inspecting network traffic during development, de