inspect
inspect copied to clipboard
Integrating inspector in nodejs
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!
We are working on a websocket inspector, which you can follow along here: #12
Meanwhile you can host a web page that proxies inspection events from a websocket connection to the browser inspector
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.
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?