Inspecting the Vivaldi UI with DevTools
-
How do you debug javascript?
-
@Maxrunner By taking a look at the console.
-
@luetage you cant use the debugger flag to see whats happening in real time?
-
@Maxrunner Wait, who uses that?
Anyway, you can
- find the file in the sources panel & set up the breakpoints you need
- set up DOM modification breakpoints in the elements panel
-
@potmeklecbohdan i tried to put the break points but doesnt seem to stop at them
-
@Maxrunner They work for me. Are you sure that section of code is actually running?
Maybe throw a
console.log()
in there, so you can check the console to make sure it is executing. -
@nomadic nevermind...
-
LaunchLunch V with--remote-debugging-port=9222
(or any other), then (ideally using a different browser, or at least window) navigate tohttp://localhost:9222/
(use the same port number) & select the relevant entry.(& yes, you can use this to inspect the window you have the devtools in)
-
@potmeklecbohdan Good find. That’s what I was looking for months ago.
-
@potmeklecbohdan Added remote debugging and inspecting through private window introduction to the methods. Now we only need to find 36 more ways to reach 42!
-
@guigirl Damn, my fault… Would the gift of a shrubbery appease you?
-
Debugging for packed apps
is back in chrome 91 (latest snapshot 2289.3)! -
@hlehyaric Looks like we have it until at least Chromium 100!
Excerpt from here:
{ "name": "debug-packed-apps", "owners": [ "benwells", "raymes" ], "expiry_milestone": 100 },
-
@nomadic No point in adding it back in anyway. People who know know, all others are better off using alternative methods anyway. Anything but the flag is more straightforward anyway.
edit: do I get style points for using “anyway” 3 times? Anyway, how is everyone?
-
@luetage We need a new flag
Disable "anyway" in posts
. -
@hlehyaric said in Inspecting the Vivaldi UI with DevTools:
@luetage We need a new flag Disable
How did you do that :o
-
@luetage VF Mod magic.
-
Guys, I just discover a very convenience way to access the devtool inspector for browser GUI without all the flag/command/context menu fuss:
-
Open vivaldi://inspect/#apps as tab.
-
Click + button on Panel to Add Web Panel.
-
From now on, inspect all the #%$#^% you want to your heart content via the panel with just a click!
-
-
@dude99 The page is mentioned in the guide. I don’t see how this is convenient, you have to open the webpanel and then click on a specific entry. Instead you can open a valid page with a keyboard shortcut or quick commands and issue the shortcut for devtools. With one key shortcuts that’s potentially only 2 keys without clicking anything. Oh well, maybe this is the superior method for people who prefer clicking.
-
@luetage said in Inspecting the Vivaldi UI with DevTools:
The page is mentioned in the guide.
Yes, I learn that from your guide. Then, when I fed up with opening that page repeatedly, I decided to pinned it to the panel... & realized it's much easier to use than Bookmark & SpeedDial > New inspect tab. So I decided to share my "wisdom" with everyone. LOL
Instead you can open a valid page with a keyboard shortcut or quick commands and issue the shortcut for devtools. With one key shortcuts that’s potentially only 2 keys without clicking anything.
What?! We can inspect the browser GUI with devtool directly with shortcut key? I don't know about that... I only know we can inspect the webpage via shortcut key, but not the browser GUI.
So, what's the shortcut key? This definitely will make my life a lot easier!