BrightScript Language Code Check

How can I test my code before I load it on the device itself?
like any console output?

“zuber” wrote:
How can I test my code before I load it on the device itself?
like any console output?
You can’t. The code won’t run unless it’s loaded onto a Roku device.

How can we test if we have error in code? How can I debug it?

There is no emulator (akin to Android one) nor simulator (akin to iOS one) to test against - you have to test it on the device itself. Telnet to port 8085 for console.