electron-inject icon indicating copy to clipboard operation
electron-inject copied to clipboard

add --remote-allow-origins to allow websocket connection

Open devinlane opened this issue 2 years ago • 2 comments

Hi!

Thanks for creating this!

I was having an issue where the debugger websocket connection was blocked by the electron runtime and needed to add --remote-allow-origins in order to allow the debugger to connect.

devinlane avatar Sep 22 '23 17:09 devinlane

This one makes sense. Otherwise, I have found a workaround:

python -m electron_inject -s -b - /path/to/app --remote-allow-origins='*'

FelikZ avatar Sep 12 '24 08:09 FelikZ

thank you random kind human in the internet

Dev7z avatar Jun 22 '25 19:06 Dev7z