Giter VIP home page Giter VIP logo

Comments (7)

easyCZ avatar easyCZ commented on September 4, 2024 2

It is a chrome extension, much like the network tab in chrome but only for gRPC calls. The idea is to show the payload decoded against the proto. It's very much a work in progress right now, still having some issues with decoding grpc-web payloads in the extension. Will try to clean it up this week and push it to a repo so we can start a discussion if we want to take the approach and if so, in what direction.

The current version is at https://github.com/easyCZ/grpchrome

from grpc-web.

MarcusLongmuir avatar MarcusLongmuir commented on September 4, 2024

You can set debug: true in the request options to have the library output events to console.log, but that's about as far as it goes at the moment.

It's possible that the library could expose hooks for an extension to collect much more and structure it better.

from grpc-web.

rui-gao avatar rui-gao commented on September 4, 2024

Can't agree anymore. Cause I also tried using debug flag, the output is not very human-friendly. If we could read grpc-web req/res info just like json ones in dev tool of chrome, it will be very handy for dev/debug.

from grpc-web.

jonnyreeves avatar jonnyreeves commented on September 4, 2024

@easyCZ iirc you said you were looking at the possibility of creating a Chrome Extension for gRPC Web -- if you are, is it in a state where it can be shared / opened for further development?

from grpc-web.

rui-gao avatar rui-gao commented on September 4, 2024

@easyCZ
The extension approach sounds good! This extension will improve grpc-web dev/debug productivity significantly I think. Thanks for your greate work!

from grpc-web.

easyCZ avatar easyCZ commented on September 4, 2024

@demongaorui We've now proposed a debugger interface which will allow the chrome extension to be built. See #87 for details.

from grpc-web.

mindyourlifeguide avatar mindyourlifeguide commented on September 4, 2024

Any news on compatibility with gRPC-Web Developer Tools?

from grpc-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.