Click any tag below to further narrow down your results
Links
This article explains how source maps link minified JavaScript code back to its original source, making debugging easier. It details the structure of source maps, the encoding methods used, and how tools like DevTools utilize them to provide developers with meaningful error information.
This article details a method for improving Chromium's remote debugging by integrating Redis for message handling. It discusses the limitations of traditional setups and provides a step-by-step guide to modifying Chromium's DevTools pipe handler for Redis support.
The new CDP editor in Chrome DevTools simplifies the process of crafting and sending commands to the Chrome browser. It features auto-completion, real-time error checking, and easy editing of parameters, making it easier for developers to work with the Chrome DevTools Protocol.
This article highlights three lesser-known features of Chrome's DevTools, including how to time functions, watch DOM elements for changes, and attach listeners to functions. These tips aim to enhance debugging and development efficiency.
New features in Chrome DevTools, including CPU throttling calibration, allow developers to better simulate real-world performance issues by using accurate data from their machines. This enhancement improves debugging by offering calibrated throttling presets for mobile devices and integrating user experience metrics, which helps bridge the gap between development environments and actual user experiences. Developers are encouraged to complement these tools with testing on real mobile devices to capture all performance factors.
The Chrome DevTools Model Context Protocol (MCP) server is now in public preview, enabling AI coding assistants to debug web pages within Chrome and utilize DevTools capabilities for improved accuracy in coding. This open-source standard connects large language models to external tools, allowing for real-time code verification, performance audits, and error diagnosis directly in the browser. Developers are encouraged to explore the MCP features and provide feedback for future enhancements.
A DevTools plugin enhances Zustand state debugging within Expo DevTools, enabling real-time state inspection, action tracking, and time travel debugging. It integrates seamlessly with Expo and supports TypeScript, providing a user-friendly interface for developers to monitor and manage their Zustand stores effectively. The plugin is automatically disabled in production builds for safety.
A technique is presented to find where a specific object was allocated in JavaScript using Chrome DevTools' memory profiler. By profiling allocations and purposefully leaking the object as a global variable, developers can easily track down the object's creation point in the stack trace. This method is particularly useful when dealing with complex codebases or obscured stack traces.