Browser instance loaded by rider & browser extensions?

So our app is a hybrid app. It uses .net core on the backend (both APIs & MVC) & vue on the front end. I tell rider to launch the mvc part to our app with chrome & to attach the js debugger. The issue i am having is it strips out all the extensions that i have installed in chrome so i get a blank instance of chrome with no extensions. I will extensions I need evetually get removed. I haven't narrowed it down but maybe when i restart rider but i know i've been doing it daily. This is starting to be a pain. Why does this happen & is there any workarounds?

thanks…..

0
1 comment

The IDE needs to pass the --remote-debugging-port option to Chrome in order to attach a debugger; Chrome is started with a new fresh profile to ensure that no instances with the same user data are running so that the debug flag can be passed. 

Resolution

You can set up Chrome to run with your user data, but, if you do this, you need to make sure that no instances that use this data are open when you start the debugger:

  • Save your preferred Chrome user data on your computer in a separate custom directory different from the Chrome default user data directory. You need to save your preferred user data in a separate custom directory because Chrome 136 and later does not support debugging in the default user directory. Learn more from the Chrome official website.
  • Press Ctrl+Alt+S to open settings and then select Tools | Web Browsers and Preview.
  • Select the Chrome configuration and click the Edit button.
  • In the Chrome Settings dialog, select the Use custom user data directory checkbox and specify the path to the custom directory created on the first step.

If you have several user data profiles, each of them is stored in a separate subdirectory. To use a specific profile instaed of the default one, specify it in the Command line options field as follows: --profile-directory="<profile_to_use>"

0

Please sign in to leave a comment.