Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Channel Surfer

Connecting to port 9000 to run debug in Visual Studio

Error Message: "Failed to connect to Roku at (IP ADDRESS) on port 9000. Make sure you have the on device component running on your Roku." Has anyone came across this issue? 

0 Kudos
Streaming Star

Re: Connecting to port 9000 to run debug in Visual Studio

This happens when you're trying to use one of the panels such as "SceneGraph Inspector" in VSCode. Those panels work by having a small scenegraph "on-device-component" running inside your app. Right below that error, there should be instructions on how to enable that functionality. 


  1. Set "injectRdbOnDeviceComponent": true in `.vscode/launch.json`
  2. Add the following comment in main.brs after calling ' vscode_rdb_on_device_component_entry

Screenshot 2024-07-08 083406.png

0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.