Coder Social home page Coder Social logo

rxjs-devtools's Introduction

RxJS DevTools for debugging streams

This extension allows you to debug your RxJS stream emissions by hooking into the rxjs-spy debugging library.

The project was inspired by rxjs-spy-devtools.

DevTools screenshot

How to use in your app

  1. Install the chrome extension
  2. Set up rxjs-spy-devtools-plugin in your app and tag the streams that you wish to inspect in the devtools.

Structure & Philosophy

The repo is split into three packages:

  • packages/rxjs-spy-devtools-plugin: plugin for rxjs-spy that sends info about stream emissions to the dev tools extension
  • packages/extension: chrome extension for the devtools
  • packages/shared: shared types, interfaces and utils for communication between the rxjs-spy plugin and the extension

Although the extension currently depends on rxjs-spy-devtools-plugin to receive info about stream emissions. In theory this repository can be extended with another plugin that sends info about stream emissions in a different manner.

Install the extension from the Chrome Web Store

https://chrome.google.com/webstore/detail/rxjs-devtools/abgkgpfkdkafjidfgcjddeffnfnkoeil?hl=en

Developing the extension

  1. cd packages/extension
  2. Run yarn install to install the dependencies.
  3. Run yarn start
  4. Load the extension in Chrome:
    1. Access chrome://extensions/
    2. Check Developer mode
    3. Click on Load unpacked extension
    4. Select the packages/extension/build folder.
  5. Happy hacking!

Installing the extension in developer mode

  1. git clone this repository
  2. cd packages/extension
  3. yarn install to install the dependencies.
  4. yarn build
  5. Load the extension in Chrome:
    1. Access chrome://extensions/
    2. Check Developer mode
    3. Click on Load unpacked extension
    4. Select the packages/extension/build folder
  6. You should now see RxJS Devtools as a tab in dev tools.

rxjs-devtools's People

Contributors

anton164 avatar dependabot[bot] avatar andreajl avatar ellingbo avatar

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.