@dlenroc/roku-debug-server
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

@dlenroc/roku-debug-server · NPM Version

Client for host utilities provided via telnet on port 8080

Installation

npm install @dlenroc/roku-debug-server

Usage

import { DebugServerExecutor, getPlugins } from '@dlenroc/roku-debug-server';

const ctx = new DebugServerExecutor({
  hostname: '<ip>',
  port: 8080,
});

// typed
const plugins = await getPlugins(ctx);
console.log(plugins);

// raw
const rawResult = await ctx.execute('plugins');
console.log(rawResult);

Method Command Description
clearLaunchCaches clear_launch_caches Clear all caches that can affect channel launch time
clearSceneGraphPerformanceMetrics
getSceneGraphPerformanceMetrics
startSceneGraphPerformanceTracking
stopSceneGraphPerformanceTracking
sgperf SceneGraph node operation performance metrics
disableRendezvousLogging
enableRendezvousLogging
getRendezvousLoggingStatus
logrendezvous Turn Rendezvous Logging on or off
generateDeveloperKey genkey Generate a new developer key
getChannelPerformanceStats
scheduleChannelPerformanceLogging
chanperf Show channel CPU and memory usage
getDeveloperKey showkey Show the current developer key
getLoadedTextures loaded_textures Show loaded textures (default main RenderContext)
getMaxWarningCount
setMaxWarningCount
brightscript_warnings Set the maximum number of brightscript warnings displayed
getMemoryStats free Return the output of the free(1) command
getPlugins plugins Show list of all installed plugins
getProfilingStatus bsprof-status Get BS profiling status
getR2D2Bitmaps r2d2_bitmaps Enumerate R2D2 bitmaps
getSceneGraphNodes sgnodes List Scene Graph nodes
hideFPS
showFPS
toggleFPS
fps_display Display onscreen graphics statistics
pauseProfiling bsprof-pause Pause BS profiling
press press Simulate a keypress
removePlugin remove_plugin Remove a plugin from the account and device
resumeProfiling bsprof-resume Resume BS profiling
type type Send a literal text sequence

Readme

Keywords

Package Sidebar

Install

npm i @dlenroc/roku-debug-server

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

82 kB

Total Files

178

Last publish

Collaborators

  • dlenroc