# 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](https://github.com/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!

## Debug without breaking your flow

Ray keeps all your debug output neatly organized in a dedicated desktop app.

Download Ray

[Buy Ray for\
 434 NOK](https://spatie.be/products/ray)

Licenses are valid for 1 year and managed through [Spatie](https://spatie.be/products/ray). Licenses purchased before Ray 3 remain valid. VAT is calculated at checkout.

## Thanks for trying out Ray!

macOS

[ARM](https://spatie.be/products/ray/v3/download/macos-arm64/latest) [Intel](https://spatie.be/products/ray/v3/download/macos-x64/latest)

Windows

[x86 (Intel)](https://spatie.be/products/ray/v3/download/windows/latest)

Linux

[AppImage](https://spatie.be/products/ray/v3/download/linux/latest)

By downloading Ray, you agree to our [terms of use](/content/terms-of-use/index.html).

The free trial lets you send up to 20 messages per session.
