Javascript Debugger: Chrome starts without my extensions/customization
Problem
When the debugger is started, a new Chrome window without my extensions/customization opens
Cause
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+Sto 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 with your preferred user data.
If you have several user data profiles, each of them is stored in a separate subdirectory. To use a profile, specify it in the Command line options field as follows: --profile-directory="<profile_to_use>"
Please sign in to leave a comment.