Opening Developer Tools Automatically

Опубликовано: 24 Август 2017
на канале: David Donovan
3,450
9

It took me a while before I learned how to clear the cache, and open Chrome’s developer tools automatically, when starting to debug from within Visual Studio. This has the advantage of capturing the performance data from the beginning point of launching the application.

Let me show you how to do this.

First, within the Tools Options, disable JavaScript debugging for ASP.Net.

Next, click on the “Browse With…” selection."

Then, select Google Chrome, because we are going to copy the program path.

Highlight it and copy it to the clipboard by hitting a control-c.,,,,,,
Now, click the “Add” button.

Next, paste the program path into the program text box.
Type this into the “Arguments” text box:
--auto-open-devtools-for-tabs --disk-cache-dir=null

Then for the Friendly name, enter “Chrome for Development”.

Now if you choose “Chrome for Development” as your browser, then hit F5 you will launch Chrome with the Developer’s tools and clear the cache all at the same time. Another huge productivity gain.

Another quick point. You may also want to select “Disable Cache” on the Network tab.


На этой странице сайта вы можете посмотреть видео онлайн Opening Developer Tools Automatically длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь David Donovan 24 Август 2017, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 3,450 раз и оно понравилось 9 зрителям. Приятного просмотра!