Can I open Chrome DevTools while the page is loading?

Usually I want DevTools to open during page refresh. Can I use DevTools to debug this page from the start?

+4
source share
1 answer

You can remotely debug your own instance of Chrome to get full DevTools for each page. Launch Chrome with the command line flag : --remote-debugging-port=9222

Then you get the user interface:

enter image description here

Here you select the tab that you want to debug, and it will open DevTools in an exclusive window for this page:

enter image description here

+7
source

Source: https://habr.com/ru/post/1489950/