-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Debugging Brave UI
Brian R. Bondy edited this page Jun 10, 2018
·
5 revisions
You can use the Chrome remote developer tools to debug aura UI views (Windows and Linux).
- Run
src/out/Debug/brave --enable-ui-devtools
- Run
chromium-browser --enable-ui-devtools
(you can also use Chrome if you prefer) - In the Chromium browser, go to
chrome://inspect
- Click on Other and in the section entitled "UiDevToolsClient" click on the
inspect
link.
You can now use the DOM inspector and some of the other devtools.
![screen shot 2018-06-10 at 12 50 46 pm](https://user-images.githubusercontent.com/831718/41204013-268f97d6-6cad-11e8-80c4-641e7f998aac.png)
You can also pass --enable-ui-devtools=<port>
if you want to use a different port.