Via the Chrome Web Store (recommended)
or
- build it with
make build
- open the Extension Management page by navigating to
chrome://extensions
. - enable Developer Mode by clicking the toggle switch next to "Developer mode".
- Click the LOAD UNPACKED button and select the extension
./build
directory.
Via Firefox Browser Add-Ons (recommended)
or
- build and package with
make package
- enter
about:debugging
in the URL bar of Firefox - click This Firefox > Load Temporary Add-on...
- select the
grpc-web-devtools.zip
extention file
import {UnaryCall} from '@protobuf-ts/runtime-rpc';
const enableDevTools = window.__GRPC_DEVTOOLS__ || (() => {});
const client = new EchoServiceClient('http://myapi.com');
enableDevTools([
client,
], UnaryCall);
NOTE: Requires that your generated client(s) use
@protobuf-ts
.