grpc-web-devtools icon indicating copy to clipboard operation
grpc-web-devtools copied to clipboard

Electron support

Open requilence opened this issue 5 years ago • 3 comments

I've tried to run this extension inside the electron 11.0.2(chromium 87) with no luck. I have successfully connected it with the grpcweb client, sendGRPCNetworkCall catches all the msgs from grpcweb. chrome.runtime.connect and port.postMessage run without any error, but the devtools gRPC-Web panel show no requests. I cannot debug further because I can't find a way to enable the Extension Developer mode in the Electron. The console also doesn't contain any msgs from the extension.

Your extension looks really promising and I will appreciate any help from your side to debug this issue 🙏

requilence avatar Nov 27 '20 13:11 requilence

I'm also trying to make this work on Electron, but it seems that there is not maintained

younes-io avatar Apr 12 '21 14:04 younes-io

same issues

yansenlei avatar Nov 02 '21 06:11 yansenlei

I tried to run the following information in Electron:

  1. Can get interception information, write log in index.html: image image

  2. But Panel does not have any information: image

  3. If I fake data in Index.js, Panel lists work fine:

store.dispatch(networkLog( mockData ))

image

The cause of the cause may be that the listener does not work properly: https://github.com/SafetyCulture/grpc-web-devtools/blob/master/src/index.js#L18

Waiting for a reply... 🙏

@rogchap @requilence @younes-io

yansenlei avatar Nov 03 '21 15:11 yansenlei