Closed trusktr closed 5 years ago
I'm using karma-electron v6.0.0
You're specifying --browsers Electron
in the CLI execution. This is overriding the browsers: ['CustomElectron']
in the configuration. This can be fixed by either:
--browsers Electron
in the CLI execution--browsers CustomElectron
insteadOh goodness, sorry for wasting your time. That was my problem all along!
I've removed the CLI flag, and --show
works now, and I've also verified that when using '--remote-debugging-port=9222'
I can also inspect from the Chrome browser using chrome://inspect
.
Thanks!
I'm trying to use the
--show
option to open an Electron window to debug tests, but a window never appears.My config is:
Then I'm running
I see the Electron icon in my macOS dock, but no window. If I change
--no-single-run
to--single-run
, then I'll see tests successfully fly by in my terminal.What may be missing?