electron-inject
electron-inject copied to clipboard
add --remote-allow-origins to allow websocket connection
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.
This one makes sense. Otherwise, I have found a workaround:
python -m electron_inject -s -b - /path/to/app --remote-allow-origins='*'
thank you random kind human in the internet