born2net
born2net

Reputation: 24993

Keep Chrome extensions when debugging JS in WebStorm

When I debug in WebStorm (Angular) it launches a new session Chrome browser but removed all extensions, however I would like to keep the Redux extension in the debug session. Is it possible?

Upvotes: 2

Views: 1501

Answers (2)

Parker H Gordon
Parker H Gordon

Reputation: 129

If you don't need it to be the same profile as your normal profile, you can get away with

  • starting the debugging browser
  • adding a new profile to chrome from there
  • deleting the default "Person1" profile

Then, any settings or browser extensions you change on that profile will actually be saved instead of lost every time. This way doesn't require you to exit all your chrome tabs before debugging, and doesn't need any setting changes in Webstorm / IntelliJ.

Upvotes: 0

lena
lena

Reputation: 93868

WebStorm uses Chrome protocol with --remote-debugging-port option for debugging by default. Debug session is started in a new window and using a new custom Chrome profile (as, if Chrome is already started, a debugging port can't be opened for any new or existing Chrome instance that has the same user data).

You can modify Chrome settings in Settings | Tools | Web Browsers to launch Chrome with your own user data - see https://www.jetbrains.com/help/webstorm/configuring-javascript-debugger.html#ws_js_debug_default_chrome_user_data. But you will then need to make sure to close all running Chrome instances prior to starting the debug session to make debugging work

Upvotes: 9

Related Questions