Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrating inspector in nodejs #6

Open
jaykay-p opened this issue Jan 20, 2024 · 4 comments
Open

Integrating inspector in nodejs #6

jaykay-p opened this issue Jan 20, 2024 · 4 comments

Comments

@jaykay-p
Copy link

Hi,

Thanks for the inspector. I am looking forward to use it in both frontend and backend parts of my project.

I'm working on a nestjs application, but I cannot find any guides on how to integrate in nodejs.
Would really appreciate some guidance on setting up the inspector in nodejs.
Thanks!

@davidkpiano
Copy link
Member

We are working on a websocket inspector, which you can follow along here: #12

@nstadigs
Copy link

Meanwhile you can host a web page that proxies inspection events from a websocket connection to the browser inspector

@nstadigs
Copy link

After looking at the PR: Will I be able to inspect my machines with the websocket inspector without creating publicly accessible URLs? Otherwise I guess I'll just go with the approach I mentioned above to kinda mimic the behavior of the deprecated visualizer.

@solispauwels
Copy link

Following the documentation on https://stately.ai/docs/inspector.

I am trying to get createWebSocketInspector to work in a Node.js environment (NestJS), but I haven't been able to achieve this. When I create the WebSocket myself, it connects correctly and sends data, but I cannot inspect anything.

Additionally, it seems the autostart parameter is not functioning, so I need to start it manually.

The website lacks sufficient documentation. You mention a URL https://stately.ai/inspector, but this URL does nothing (it doesn't attempt to connect to the WebSocket).

Can you help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants