Brighter.Debug Open simulator
NewWe're building a new engine in C++

For Roku developers

A Roku simulator that runs in your browser

Run and debug your Roku apps without a device. Open a ZIP, a project folder or a single .brs file: your BrightScript and SceneGraph app runs next to a virtual remote, with a console, a network inspector and a debugger. Nothing to install.

  • BrightScript and SceneGraph
  • Nothing to install
  • English, Spanish and Portuguese

In development

A new engine, written in C++

We're building a new engine for Brighter.Debug from the ground up, in C++. The goal is simple: run your apps faster and behave more like a real Roku device.

Try the current version

How it works

From your project to a running app

  1. Open your app

    Choose a ZIP, a project folder with a manifest, or a single .brs file. Your browser reads the files: they are not uploaded.

  2. Use it like a Roku

    Navigate with the virtual remote or your keyboard, type into text fields and play video.

  3. Find what's wrong

    Follow the console, inspect each request and pause the code to look at variables and the call stack.

Features

Everything you need to test a Roku app, on one page

Open your app

Load a ZIP, a project folder or a .brs file. The app starts right away, next to the remote.

Tips

  • No app at hand? Click Example to load a sample channel.
  • Run starts the app again from the beginning, and Stop ends it.
  • If a folder doesn't open, choose the one that has the manifest file.

Type with your keyboard

When the app shows a keyboard or a text field, type on your computer. The text goes into the app's own keyboard.

Tips

  • Press Down to confirm the text and move to the next field.
  • Backspace deletes, and you can paste text too.
  • “Type with your keyboard” appears above the screen while typing is on.

Navigate with the remote or the keyboard

Click the virtual remote or use the keys you already know. Focus, lists and screens respond as you move around.

Tips

  • Arrow keys move the focus, Enter is OK and Esc is Back.
  • Space plays and pauses, and * opens the options.
  • In fullscreen, drag the remote by its top edge. A double click puts it back.

Play video

Test your player with HLS and DASH streams, inside the app, with the same keys as on the remote.

Tips

  • Space plays or pauses. The remote also has rewind and fast forward.
  • Filter the Network tab by “Video and audio” to see the manifest and the segments.

Inspect network requests

Each request your app makes appears in the Network tab, with its status, size and time. Open one to see the headers, the data sent and the response.

Tips

  • JSON responses are formatted. Switch to Original to see them as they arrived.
  • Copy as cURL repeats the same request in a terminal.
  • Filter by address, method or status, or by type: API and data, images, video and audio, or errors.

Pause and investigate

Prints and errors show up in the console. Pause the app to see where it stopped, the call stack and the local variables.

Tips

  • Add a stop statement to your code to pause at an exact line.
  • While paused, type ? and a variable or expression, bt for the call stack or var for the local variables.
  • Click Continue to resume the app.

Fullscreen with the console on top

Watch the app in fullscreen and keep the console and the remote over it. Each one fades when the mouse moves away.

Tips

  • Detach the console, pin it on top of the screen, then switch to fullscreen.
  • Expand the console to read long output. Esc restores its size.

Keyboard

Keyboard shortcuts

↑↓←→Arrow keys
Up, down, left and right
Enter
OK
Esc
Back
Home
Home
Space
Play or pause
*
Options
Letters and numbers
Type in the app's text fields
Backspace
Delete while typing

Tips

Small things that help

  • Switch between light and dark mode, and choose the language, at the top of the page.
  • Detach the console to place it anywhere on the page, and resize it from its corner.
  • Use Clear to empty the console before testing something new.
  • Use a recent version of Chrome, Edge or Firefox, or Safari 16.4 or newer.

Questions

Frequently asked questions

Is there a Roku simulator for the browser?

Yes. Brighter.Debug runs Roku apps written in BrightScript and SceneGraph directly in Chrome, Edge, Firefox or Safari 16.4 or later. Open your app and use it with a virtual remote or your keyboard, without a Roku device.

Is Brighter.Debug a Roku emulator?

Not exactly. An emulator would reproduce the device's hardware and the whole Roku OS. Brighter.Debug simulates what apps use: the BrightScript language, SceneGraph, the remote control, the network and video playback. That is enough to run, test and debug most apps.

Can I test a Roku app without a Roku device?

Yes, for most of the development: screens, navigation, focus, forms, API calls and logic. Some things still differ from a real Roku, such as DRM-protected video and performance, so always run a final test on a device before publishing.

Which files can I open?

A ZIP of your app (the same package you sideload to the device), the project folder that has the manifest, or a single .brs file. Your app's files are read by your browser and are not uploaded.

How do I debug BrightScript in the browser?

Add a stop statement to your code or press Pause. The console shows the line, the call stack and the local variables, and you can evaluate expressions as in the Roku debugger. The Network tab lists every request the app makes, with headers, payload and response.

Does it run SceneGraph apps?

Yes. Brighter.Debug runs SceneGraph apps, with components, Tasks, focus and video, and also Draw 2D apps (roScreen). SceneGraph support is still in beta, so some details of focus, drawing and Task concurrency may differ from a device.

Good to know

A simulator does not replace the device

Ready to try it?

Open your app and start testing. Nothing to install.

Open the simulator