NicolasPetton / Indium

A JavaScript development environment for Emacs
https://indium.readthedocs.io
GNU General Public License v3.0
1.13k stars 61 forks source link

Is it possible to use other Chromium-based browsers? #259

Closed NickRaleigh closed 3 years ago

NickRaleigh commented 3 years ago

Hello, I use Brave as my daily driver for web development. Is it possible to use it to debug with Indium instead of Chromium/Chrome?

NicolasPetton commented 3 years ago

@NickRaleigh I've never used Brave, but if you can start it with --remote-debugging-port or equivalent, it might work. Have you tried customizing indium-chrome-executable?

NickRaleigh commented 3 years ago

@NicolasPetton yes that did the trick! Using (setq indium-chrome-executable "brave") will launch Brave instead of Chrome/Chromium. Thank you!

And a note for others who run into this issue as well, Ubuntu/Debian distros tend to use brave-browser as the executable name, and other distros just use the name brave.

NicolasPetton commented 3 years ago

Awesome! @NickRaleigh I'm glad that it just works.

bnsv commented 1 year ago

Mine is google-chrome instead of chrome, so its (setq indium-chrome-executable "google-chrome").