3

In IntelliJ, the targeted browser can be configured for web apps. Anyone knows how to configure to open the browser in private window - Firefox and Chrome ?

3 Answers 3

7

For Chrome you just need to open the Web Browsers section in Preferences and then edit the Chrome option. Set the Command line options to -incognito and Chrome should start in incognito mode. IntelliJ WebBrowsers

For Firefox I expect you need to start it in private mode. This URL starts Firefox on my Mac but I can't get it to work in IntelliJ

/Applications/Firefox.app/Contents/MacOS/firefox -private
Sign up to request clarification or add additional context in comments.

Comments

2

This is the only one setup that worked for me.

enter image description here

1 Comment

Thank you, this is what worked for me on MacOS Big Sur
0

Chrome incognito

  1. Check if Allow in incognito is switched on for JetBrains IDE Support extension (chrome://extensions/)
  2. open WebStorm preferences -> Tools -> Web browsers -> Chrome -> Edit -> Command line options: -incognito
  3. Run Chrome incognito window manually

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.