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.
Sur cette page du site, vous pouvez voir la vidéo en ligne Opening Developer Tools Automatically durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur David Donovan 24 août 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 3,450 fois et il a aimé 9 téléspectateurs. Bon visionnage!