Debugging

When developing a Ray Library, you may find it necessary to debug the data being sent to the Ray app.

You may use the following third-party package to intercept and display the data being sent from your code to the Ray app:

permafrost-dev/ray-proxy

#Usage

First, set your port in the Ray app to 23516 in the preferences.

Next, you need to start the proxy application.

The easiest way to run ray-proxy is with npx:

npx ray-proxy

You can also install ray-proxy as you would any other npm package:

npm install ray-proxy --save-dev

./node_modules/.bin/ray-proxy

Once you start sending Ray messages, you'll see the raw payloads being sent in the proxy, along with statistics!

On this page

Help us improve this page