I didn’t want to lose my music, so that was a solid “no” for me. The reason for me was that I already had another instance of Chrome open (I had music streaming in a separate Chrome instance). If you’re like me, you may have tried this only to discover that when you debugged your app, Chrome opened, but didn’t have the DevTools window open. Wait a minute – I followed all of your steps, and Chrome isn’t opening with the DevTools Window! Otherwise, you can select your web browser first before debugging. If you want to have this version of Chrome run every time you debug, go ahead and select Set as Default. In the Friendly Name field, enter something descriptive, for example, Google Chrome w/ DevTools (see fig. This is what tells Chrome to open with the developer tools window open. In the Arguments field, enter the command line switch to open devtools, -auto-open-devtools-for-tabs. On many machines it is located at "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", however sometimes it may be installed in your local profile (e.g. In the Program field, enter the path to Google Chrome. To add a new browser to Visual Studio, follow these steps: Step 1Ĭlick the down arrow to the right of IIS Express, and select the Browse With. This should be simple enough – just configure a new browser for Visual Studio to use. I thought it would be nice to have Visual Studio launch Chrome with the developer tools window already open.Īfter doing some digging, I discovered that Chrome has a command line option to open devtools: -auto-open-devtools-for-tabs. Sure, it’s easy to just press F12, but after a while, I got sick of having to do that each time. Sometimes when debugging an app, I’ll need to frequently open the developer tools in Google Chrome for assistance.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |