页面简介
Discover and explore latest news about and use cases for AI assistance in DevTools
正文摘录
Home Docs Chrome DevTools AI assistance Explore use cases for AI assistance in Chrome DevTools and learn how it can support your debugging workflow across styling, performance, and more. Read docs Understands layouts Get a detailed explanation of your element's layout and how to modify it with prompts like this: How is this element laid out? Is it a flex item? Is it positioned absolutely? Is it part of a grid? AI assistance can summarize the layout of element trees and provide code examples to demonstrate how to modify it. Debugs animations Got an animation that isn't working? Ask AI assistance about your animated element: Why is my animation not working? AI assistance will check relevant CSS properties, event listeners and more to find out what might be wrong and provide code examples to fix it. DEMO DevTools Hangar No project at hand to put AI assistance for styling to the test? Try it in the DevTools Hangar! Find the right prompts to fix rectangular wheels, broken position lights and a fuming engine to make the DevTools plane fly again. Explore demo Demystifies headers Request and response headers often contain important information not obvious at a glance. Ask AI assistance to explain them: Does this request have any notable headers? Sets timings in perspective Ever had a feeling a certain request just takes too long, but not quite sure why? Ask AI assistance to look into it for you: Why is this request taking so long? AI assistance investigates recorded timings and will let you know if anything is off. Discovers bottlenecks Finding the root cause for a sluggish website can be difficult. Can't get behind peaks in your performance profiles? AI assistance can boil down call trees for you: Anything to improve in this call tree? Explains unknown files It's rare you wrote all of the code your website uses - can't understand why a certain resource is loaded and what it's used for? AI assistance can help: What is this file used for? No matter if it's an analytics script, a social widget or a A/B testing library - AI assistance will dig in and find out. Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Last updated 2025-05-11 UTC.