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.
In questa pagina del sito puoi guardare il video online Opening Developer Tools Automatically della durata di ore minuti seconda in buona qualità , che l'utente ha caricato David Donovan 24 agosto 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 3,450 volte e gli è piaciuto 9 spettatori. Buona visione!