Freeze screen in chrome debugger / DevTools panel for popover inspection?
Got it working. Here was my procedure:
- Browse to the desired page
- Open the dev console - F12 on Windows/Linux or option + ⌘ + J on macOS
- Select the
Sources
tab in chrome inspector - In the web browser window, hover over the desired element to initiate the popover
- Hit F8 on Windows/Linux (or fn + F8 on macOS) while the popover is showing. If you have clicked anywhere on the actual page F8 will do nothing. Your last click needs to be somewhere in the inspector, like the sources tab
- Go to the
Elements
tab in inspector - Find your popover (it will be nested in the trigger element's HTML)
- Have fun modifying the CSS
Is it possible to freeze the DOM in browser for drag debugging?
Thx to @wOxxOm for the hint in the comments. Yes, it should be possible to set breakpoints for e.g. drag
and dragstart
events.
The problem was those breakpoints did not worked. Only dragstart
worked in Firefox for me, but it was to early for my DOM debugging. But I got it working using the keyup
event in Firefox. I dragged the element and then I hit the key and then breakpoint was triggered.
How do you inspect the web inspector in Chrome?
Follow these easy steps!
Press Command+Option+i (Ctrl+Shift+i on Windows) to open DevTools.
Make sure that the developer tools are undocked into a new window. You may have to undock from the menu:
Press Command+Option+i again on this new window.
That will open the DevTools on the DevTools.
- You can redock the page's DevTools if you want.
- If it's not already, select Elements — it's the first icon at the top of the inspector.
A little beyond the scope of your question, but still valid in understanding why you're experiencing your problem can be found by understanding how Chrome Developer Tools: Remote Debugging works.
Related Topics
How to Only Show Certain Parts with CSS for Print
How to Use a Unitless CSS Variables and Later Add the Needed Unit
How to Specify Different Widths for Columns in CSS3
Why Does the Linear-Gradient Disappear When I Make an Element Position:Absolute
What Is Class="Mb-0" in Bootstrap 4
Expand Div from the Middle Instead of Just Top and Left Using CSS
CSS - Center Two Images in CSS Side by Side
Box Shadow on Table Row Not Appearing on Certain Browsers
Property: 0' or 'Property: 0Px' in CSS
:Not() Selector Not Behaving the Same Between Safari and Chrome/Firefox
Css Animation and Display None
Sass Variable in CSS Calc() Function
How to Dynamically Generate a List of Classes With Commas Separating Them