Chrome DevTools Connect: A Live Channel Between Agents and the Browser
Chrome DevTools Connect gives coding agents a live channel into the browser's DevTools so they can run browser tests and drive fix cycles instead of reasoning from source alone.
Loading…
Topic
30 posts about Debugging. Every summary links to the original.
See the idea
Chrome DevTools Connect gives coding agents a live channel into the browser's DevTools so they can run browser tests and drive fix cycles instead of reasoning from source alone.
A five-checkpoint workflow for making large-scale training runs bitwise reproducible: pick the guarantee, fingerprint the run, and trace divergence down to the kernel.
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
CLion’s integration with SEGGER J-Link now provides one-click access to Ozone and SystemView, plus AI agent-driven debugging. The workflow uses J-Link as the debug probe, Ozone for instruction tracing and code coverage, and SystemView for runtime recording of tasks and interrupts. CLion connects to the J-Link GDB Server over the remote GDB protocol, flashing the target and controlling execution. AI agents access the debugger through CLion’s built-in MCP server, allowing them to set breakpoints, step through code, and read memory on real hardware. A demo on an nRF52840 showed an agent diagnosing a stalled signal pipeline by identifying excessive CPU time in a telemetry task, then fixing and verifying the code. The integration requires CLion 2026.2 or later and the SEGGER J-Link software package.
PyCharm 2026.3 ships with 303 fixes and improvements alongside major features like JetBrains Air and workspaces. Type inference now handles functools.partial, generic classes, bounded type variables, and collections with fewer false positives. The debugger gains Set Value and Jump to Cursor in debugpy mode, plus variable sorting by type and plot display. Testing tools offer completion for pytest-mock mocker fixtures and Mock(spec=…) classes, and support for Zuban as a mypy-compatible type checker. Environment handling is more reliable for conda and uv, and startup is faster by reducing matplotlib overhead by about 100 milliseconds.
JetBrains and Lauterbach presented a joint webinar on integrating CLion with TRACE32 for agentic debugging of embedded systems. CLion communicates with TRACE32 via the Debug Adapter Protocol (DAP) using Lauterbach’s t32debugadapter tool. AI agents access the debugger through CLion’s built-in Model Context Protocol (MCP) server, allowing them to inspect registers and memory on actual target hardware. The demo used a four-core Infineon AURIX TC387QP board with a Lauterbach PowerDebug E50 probe, where an agent started a debug session and examined all cores. The integration is at an early stage, with instruction trace, a trace viewer, and real-time variable updates not yet available.
A 2026 survey found that 53.2% of Rust users do not use a debugger, with 81.3% citing prints as easier or faster. Debugger usage has risen from 36% to 46.8% since 2021, but async (28.1%) and macros (23.0%) still break stepping features. The post demonstrates four debugging approaches using a Graham scan algorithm bug: print debugging, terminal-based rust-lldb, the RustRover IDE, and AI-assisted debugging via an MCP server. RustRover evaluates expressions by lowering them to MIR and sending them to the debugger. Starting with RustRover 2026.3, the MCP server allows agents like Codex to set breakpoints, step through code, and inspect variables automatically.
Meta developed a vendor-neutral accelerator plugin architecture in lldb-server for debugging applications that span CPUs and GPUs. The design separates shared debugger infrastructure from hardware-specific device control by representing the CPU and GPU as separate LLDB targets. A plugin in lldb-server coordinates host and device debugging, translating a vendor’s device debugging API into concepts LLDB already understands. GPU debugging is activated only when the application uses a supported GPU runtime, leaving CPU-only debugging unaffected. The common framework, including the plugin interface and GDB-remote packets, has been upstreamed to LLVM, with remaining pieces expected soon.
AI code agents that require constant permission prompts create a new form of friction similar to old copy-paste workflows. The Sprite environment solves this by giving agents unrestricted access to a fully isolated computer where they can install dependencies, start servers, and test endpoints without human intervention. Preinstalled tools such as test runners, service logs at known paths, and checkpoint-based rollback enable agents to write code, run it, observe failures, and fix issues autonomously. Additional tools like curl, jq, sqlite3, and network debugging utilities support API testing, database inspection, and network troubleshooting. The result is a tight closed loop where the agent can build, test, and ship without prompting the developer, turning the developer into the idea person rather than middleware.
The IntelliJ Scala Plugin 2026.3 release introduces more accurate Scala 3 code analysis, including improved resolution of extension methods and contextual arguments to reduce false errors. Twirl template support for Play Framework has been completely rewritten, enhancing parsing, completion, formatting, and reference resolution while reducing false errors in mixed-language templates. Build-tool improvements include mandatory separate main and test modules for sbt projects, better sbt 2.x import, and restored dependency-coordinate completion for sbt and Scala CLI. Debugging now supports breakpoints on single-line conditional return statements and resolves issues with breakpoints in Future callbacks and for comprehensions. Compiler-based highlighting has been made more efficient by reusing valid diagnostics and combining pending checks into single compilation runs, with clear explanations when blocking errors exist.
AI coding agents treat inline TODO(bug/…) and FIXME(bug/…) comments as actionable instructions, often chasing bugs that are already closed, fixed, or unrelated to the developer’s original prompt. Among unprompted detours—which account for 83% of actions—41% chase already-closed tickets (32% fixed/verified, 9% obsolete/won’t-fix) and 57% trigger scope creep on open bugs. These distractions add substantial overhead: 70% more steps, 77% more tokens, and 105% more wait time per session, all statistically significant at p<0.0001. The post illustrates two trajectories: investigating long-fixed bugs and unilaterally editing code based on a TODO. Automated cleanup agents now scan the codebase, verify each TODO’s relevance using bug status and history, and delete only obsolete references, achieving 95% acceptance and removing thousands over six months.
RustRover 2026.3 introduces JetBrains Air, an IDE layer that runs coding agents from providers such as Claude, Codex, Gemini, and GitHub Copilot without requiring a separate AI subscription. Debugger views now shorten long Rust type and symbol names, making program state and call stacks easier to scan. A new debugger MCP server lets agents set breakpoints, step through code, inspect variables, and evaluate expressions, helping find runtime errors from natural language descriptions. The release also adds remote development via SSH with native OpenSSH support, including certificate-based authentication and hardware tokens, and improves profiler integration with direct Jump to Source for Rust functions. Automatic error and UI freeze reports are sent to JetBrains with personal details removed, enabling prioritized fixes based on real impact.
IntelliJ IDEA 2026.3 introduces JetBrains Air, a new layer for agentic development, and an extension that brings Java and Kotlin support to Cursor and VS Code. Debugging improvements include the ij-debugger agent skill, a Hibernate debugger, Spring Security diagnostics in HTTP responses, and Spring cache support in Spring Debugger (coming in 2026.3.1). The release adds AppGlass and supports Java 28, Jakarta Persistence 4, Hibernate 8, Scala updates, and Kotlin support for Spring Modulith. Users can perform quick tasks and edits without opening a project and use Git worktrees for parallel work and code reviews. The update also includes stability, performance, and usability improvements across the platform.
Lauterbach and JetBrains have integrated TRACE32 debugging tools with CLion, enabling embedded developers to debug applications on target hardware directly from the IDE. The integration uses the Debug Adapter Protocol (DAP) to connect CLion to TRACE32 through the TRACE32 Debug Adapter, allowing developers to control execution, step through code, and inspect variables while TRACE32 handles target hardware communication. Two workflows are supported: launching a new TRACE32 PowerView session from CLion with scripts to configure the connection, or attaching to an existing TRACE32 instance. The integration requires CLion 2026.2.4 or later, TRACE32 PowerView 09.2026 (or build 195402), and TRACE32 Debug Adapter version 0.1.2 or later, with detailed configuration examples in the Lauterbach knowledge base. This brings code editing, navigation, and hardware debugging into one workflow, and a free webinar on October 27, 2026 will demonstrate the integration in action.
JetBrains Marketplace now provides UI freeze reports for plugin authors, accessible from the Freezes tab after enabling Marketplace reporting via the JetBrainsMarketplaceErrorReportSubmitter handler in plugin.xml. Reports are grouped by error type, with each pile showing a representative report and a thread-dump excerpt that identifies threads involved, such as the event dispatch thread (EDT), helping spot recurring patterns. Full thread dumps captured every five seconds during the freeze are available, along with optional CPU snapshots and performance metrics, and comparing dumps across samples can reveal persistent operations. The analyze-freeze skill guides AI agents through investigating IntelliJ Platform thread dumps, focusing on the EDT, coroutine behavior, and common patterns like non-cancellable read actions blocking the UI, with suggestions for fixes. Before fixing, authors should check the plugin version, keep blocking I/O outside read actions, and test changes by repeating the operation and examining fresh diagnostic evidence.
Seer Agent, Sentry’s AI debugging assistant, now performs write actions through the Sentry API, such as setting up custom dashboards, creating monitors and alerts, and assigning, resolving, and archiving issues. It defaults to the user’s permission level and explicitly requests permission for tasks outside its write scope, with permissions not persisting beyond a single chat. The agent can also incorporate infrastructure data from external monitoring platforms like Datadog and Google Cloud Platform via Seer Connectors, using API keys instead of OAuth. This allows Seer Agent to diagnose issues by connecting front-end and back-end data beyond Sentry’s native scope. These updates evolve Seer Agent from a conversational rubber duck into a proactive debugging assistant that can act on behalf of users.
Logpoints in IntelliJ IDEA provide a way to inspect a running Java process without suspending it, making them useful when println logging or regular breakpoints would be disruptive. The walkthrough uses a Dockerized gRPC client and server whose incorrect tenant discount is traced by attaching to the server and adding expressions at runtime, without rebuilding or redeploying. Progressive logging shows the tenant value as JetBrains while the expected value is jetbrains, and the correct-discount block is never entered; the supplied fix uses equalsIgnoreCase and returns 2,000 basis points. The article also demonstrates testing changes through logpoint side effects, extending gRPC deadlines selectively, logging in dependencies, and using the ij-debugger AI agent skill. IntelliJ IDEA 2026.2 adds faster placement and instrumentation that removes debugger-introduced overhead, although heavy expressions still execute in the VM.
Spring Security can reject a request before execution reaches a controller breakpoint, leaving developers to determine the effective roles and whether bypassing authorization is safe for debugging. IntelliJ IDEA’s security inlays read the live SecurityFilterChain during an active debug session, show role or authority requirements, link to configuration, and let developers unlock an exact URI and HTTP method either with all listed roles or with a chosen username and authority set. The debugger populates an artificial Authentication in the running application’s SecurityContext without changing configuration, while CSRF checks and method-level authorization still apply separately. Unlocks last for the debug session or until relocked, affect every client reaching that route, and have limitations including Servlet-only support, no programmatic API, and a null @AuthenticationPrincipal result.
Rider 2026.3’s first Early Access build is available through the website and Toolbox App, introducing updates for editing, debugging, plugin discovery, code completion, and test coverage. Rainbow brackets color matching pairs by nesting level, helping with deeply nested code; the option is disabled by default and can be enabled under Settings | Editor | General | Appearance. Data breakpoints can now be created by right-clicking an editor variable or through the Breakpoints tool window, while retaining read/write access, conditions, logging, validation, and other options. Bundled game-development plugins are grouped under a new Game Development category, with a matching JetBrains Marketplace tag, and completion suggestions can be narrowed or hidden using icon-based filters. Rider’s dotCover integration adds coverage for TUnit tests when JetBrains.dotCover.Framework is installed, with Microsoft.Testing.Platform 2.3.0 or later required.
CLion 2026.2.2 adds an AI skill for diagnosing ARM Cortex-M hard faults through dedicated MCP tooling. Embedded debugging typically requires decoding CFSR and HFSR, matching the faulting program counter to disassembly, and reproducing crashes because default handlers often report only that a fault occurred. When triggered by a stopped hard-fault-family handler or relevant fault evidence, the skill provides decoded status registers, the hardware-stacked exception frame, SVD-decoded peripheral registers, disassembly, and nearby memory to an agent. It supports any debugging tool, including Lauterbach TRACE32, Segger J-Link, and ST-LINK, and can produce a bug location and fix, with optional rerunning to verify the program. The skill is enabled by default but requires CLion’s MCP server; it works in AI chat and CLI mode for Claude Code and Codex, while GitHub Copilot supports CLI mode only.
Go treats errors as values rather than moving error handling outside normal control flow: functions return an error alongside other results, and callers check it. The guide presents the built-in error interface, returning errors with errors.New, wrapping failures with fmt.Errorf and %w, and distinguishing nil success from non-nil failure. It also explains panic and recover for unexpected failures, including deferred recovery in services that must continue handling other requests, while warning that panics should not replace ordinary error handling. Its best practices emphasize adding context, choosing informative custom error types, inspecting wrapped errors with errors.Is, errors.As, and errors.AsType, and logging errors when they are handled or cannot be returned. The conclusion recommends balancing early crashes with recovery when restarting is costly or when independent goroutines can continue safely.
Cursor's desktop app faces disruptive crashes as usage and features such as subagents, instant grep, and browser use have expanded, with most failures caused by out-of-memory conditions. The team measures instability across Electron's multi-process architecture using telemetry, per-session and per-request crash rates, minidumps, stack traces, crash breadcrumbs, and dashboards that update within minutes. Its two-pronged debugging strategy combines feature-level experiments and oversize-message instrumentation with bottom-up analysis based on a crash watcher, Chrome DevTools Protocol (CDP) stacks, automated daily investigations, opt-in heap snapshots, and low-rate allocation profiling. Findings led to chunking large data, killswitches, lifecycle fixes for leaks, and process isolation for extensions, while prevention uses Bugbot rules, stress tests, garbage collection, performance tests, and automated rollbacks. OOM-per-session fell 80% from its late-February peak and OOM-per-request fell 73% since March 1.
Debug Mode is an agent loop for coding bugs that combines runtime information with human verification, addressing issues that can stump conventional coding agents. After the user describes a bug, it reads the codebase, proposes multiple hypotheses, and instruments the code with logging statements designed to test them. The user reproduces the issue while the agent collects variable states, execution paths, and timing information, then uses those logs to identify a root cause and produce a targeted fix, often a two- or three-line modification. The user reproduces the bug again with the fix; if it works, the agent removes its instrumentation, while a failed verification prompts additional logging and refinement until the user considers the problem solved.
The best engineering reads, once a week.