diff --git a/package-lock.json b/package-lock.json index a1559e92..d55ca56c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,7 +32,7 @@ "node-ssdp": "^4.0.0", "postman-request": "^2.88.1-postman.32", "pretty-bytes": "^5.6.0", - "roku-debug": "^0.20.13", + "roku-debug": "^0.20.14", "roku-deploy": "^3.11.0", "roku-test-automation": "2.0.0-beta.22", "semver": "^7.1.3", @@ -2463,9 +2463,9 @@ } }, "node_modules/brighterscript": { - "version": "0.65.10", - "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.65.10.tgz", - "integrity": "sha512-JGBkH6VDgTfwTMHtvauwUeR8XAotuhURbtr3r9+zaWU/KyO0jwSCLUnoNUjSmsz9ddnWe6KOY3NpR5vVG/iraA==", + "version": "0.65.12", + "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.65.12.tgz", + "integrity": "sha512-sXPLEH2CgjrPLFWi9tp2PXTNjS1S/6Xoa6EmafFauzYJBgXPKJd/ajzRNs5UPIJ4pqG0cst6NDWDHm7y2y4nEw==", "dependencies": { "@rokucommunity/bslib": "^0.1.1", "@xml-tools/parser": "^1.0.7", @@ -2490,7 +2490,7 @@ "parse-ms": "^2.1.0", "readline": "^1.3.0", "require-relative": "^0.8.7", - "roku-deploy": "^3.10.5", + "roku-deploy": "^3.11.1", "serialize-error": "^7.0.1", "source-map": "^0.7.4", "vscode-languageserver": "7.0.0", @@ -8724,13 +8724,13 @@ } }, "node_modules/roku-debug": { - "version": "0.20.13", - "resolved": "https://registry.npmjs.org/roku-debug/-/roku-debug-0.20.13.tgz", - "integrity": "sha512-QDp6KS9R+iiDcvV5G4n9gAWzpczVzwGiYjJjd5cyyP1217nSJZTeazg9/K98X28DeKKs4/NmFLndjFu8X/oBYA==", + "version": "0.20.14", + "resolved": "https://registry.npmjs.org/roku-debug/-/roku-debug-0.20.14.tgz", + "integrity": "sha512-FXfTYoTlF7hh2b9Dgj9TAiwhWs4Zel8UXXTHQcug9cb5xK3dU++VJFWyQIGuT9K3a+rcGgAacTWZNOTbS90xaQ==", "dependencies": { "@rokucommunity/logger": "^0.3.3", "@types/request": "^2.48.8", - "brighterscript": "^0.65.10", + "brighterscript": "^0.65.12", "dateformat": "^4.6.3", "debounce": "^1.2.1", "eol": "^0.9.1", @@ -8742,7 +8742,7 @@ "postman-request": "^2.88.1-postman.32", "replace-in-file": "^6.3.2", "replace-last": "^1.2.6", - "roku-deploy": "^3.10.5", + "roku-deploy": "^3.11.1", "semver": "^7.5.4", "serialize-error": "^8.1.0", "smart-buffer": "^4.2.0", @@ -8817,9 +8817,9 @@ } }, "node_modules/roku-deploy": { - "version": "3.11.0", - "resolved": "https://registry.npmjs.org/roku-deploy/-/roku-deploy-3.11.0.tgz", - "integrity": "sha512-KsnSiUBM9Ng7R5KbAr/Rn7Ed9ItwWEKhiB12b0agRZCj85jCFoTXlRqhxH8qVTbjJgRddQzswRk5PdzEfh/f2Q==", + "version": "3.11.1", + "resolved": "https://registry.npmjs.org/roku-deploy/-/roku-deploy-3.11.1.tgz", + "integrity": "sha512-ri3eJKGyPMexI+pwvBQxpi6I7I3z9670yOidTcVEohpbYhXpnaIHnKdLb2l87kuC+iTtIEsElgmx3fyEdI5Cjg==", "dependencies": { "chalk": "^2.4.2", "dateformat": "^3.0.3", @@ -12895,9 +12895,9 @@ } }, "brighterscript": { - "version": "0.65.10", - "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.65.10.tgz", - "integrity": "sha512-JGBkH6VDgTfwTMHtvauwUeR8XAotuhURbtr3r9+zaWU/KyO0jwSCLUnoNUjSmsz9ddnWe6KOY3NpR5vVG/iraA==", + "version": "0.65.12", + "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.65.12.tgz", + "integrity": "sha512-sXPLEH2CgjrPLFWi9tp2PXTNjS1S/6Xoa6EmafFauzYJBgXPKJd/ajzRNs5UPIJ4pqG0cst6NDWDHm7y2y4nEw==", "requires": { "@rokucommunity/bslib": "^0.1.1", "@xml-tools/parser": "^1.0.7", @@ -12922,7 +12922,7 @@ "parse-ms": "^2.1.0", "readline": "^1.3.0", "require-relative": "^0.8.7", - "roku-deploy": "^3.10.5", + "roku-deploy": "^3.11.1", "serialize-error": "^7.0.1", "source-map": "^0.7.4", "vscode-languageserver": "7.0.0", @@ -17654,13 +17654,13 @@ } }, "roku-debug": { - "version": "0.20.13", - "resolved": "https://registry.npmjs.org/roku-debug/-/roku-debug-0.20.13.tgz", - "integrity": "sha512-QDp6KS9R+iiDcvV5G4n9gAWzpczVzwGiYjJjd5cyyP1217nSJZTeazg9/K98X28DeKKs4/NmFLndjFu8X/oBYA==", + "version": "0.20.14", + "resolved": "https://registry.npmjs.org/roku-debug/-/roku-debug-0.20.14.tgz", + "integrity": "sha512-FXfTYoTlF7hh2b9Dgj9TAiwhWs4Zel8UXXTHQcug9cb5xK3dU++VJFWyQIGuT9K3a+rcGgAacTWZNOTbS90xaQ==", "requires": { "@rokucommunity/logger": "^0.3.3", "@types/request": "^2.48.8", - "brighterscript": "^0.65.10", + "brighterscript": "^0.65.12", "dateformat": "^4.6.3", "debounce": "^1.2.1", "eol": "^0.9.1", @@ -17672,7 +17672,7 @@ "postman-request": "^2.88.1-postman.32", "replace-in-file": "^6.3.2", "replace-last": "^1.2.6", - "roku-deploy": "^3.10.5", + "roku-deploy": "^3.11.1", "semver": "^7.5.4", "serialize-error": "^8.1.0", "smart-buffer": "^4.2.0", @@ -17732,9 +17732,9 @@ } }, "roku-deploy": { - "version": "3.11.0", - "resolved": "https://registry.npmjs.org/roku-deploy/-/roku-deploy-3.11.0.tgz", - "integrity": "sha512-KsnSiUBM9Ng7R5KbAr/Rn7Ed9ItwWEKhiB12b0agRZCj85jCFoTXlRqhxH8qVTbjJgRddQzswRk5PdzEfh/f2Q==", + "version": "3.11.1", + "resolved": "https://registry.npmjs.org/roku-deploy/-/roku-deploy-3.11.1.tgz", + "integrity": "sha512-ri3eJKGyPMexI+pwvBQxpi6I7I3z9670yOidTcVEohpbYhXpnaIHnKdLb2l87kuC+iTtIEsElgmx3fyEdI5Cjg==", "requires": { "chalk": "^2.4.2", "dateformat": "^3.0.3", diff --git a/package.json b/package.json index adbdaaae..4b984c9f 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "node-ssdp": "^4.0.0", "postman-request": "^2.88.1-postman.32", "pretty-bytes": "^5.6.0", - "roku-debug": "^0.20.13", + "roku-debug": "^0.20.14", "roku-deploy": "^3.11.0", "roku-test-automation": "2.0.0-beta.22", "semver": "^7.1.3", @@ -830,6 +830,11 @@ "default": false, "description": "Delete any currently installed dev channel before starting the debug session" }, + "sceneGraphDebugCommandsPort": { + "type": "number", + "default": 8080, + "description": "Port for sending SceneGraph debug commands" + }, "remoteControlMode": { "oneOf": [ { diff --git a/src/DebugConfigurationProvider.ts b/src/DebugConfigurationProvider.ts index 0c6f6a65..ad2eacfb 100644 --- a/src/DebugConfigurationProvider.ts +++ b/src/DebugConfigurationProvider.ts @@ -64,6 +64,7 @@ export class BrightScriptDebugConfigurationProvider implements DebugConfiguratio remotePort: 8060, rendezvousTracking: true, deleteDevChannelBeforeInstall: false, + sceneGraphDebugCommandsPort: 8080, remoteControlMode: { activateOnSessionStart: false, deactivateOnSessionEnd: false @@ -316,6 +317,7 @@ export class BrightScriptDebugConfigurationProvider implements DebugConfiguratio config.cwd = folderUri.fsPath; config.rendezvousTracking = config.rendezvousTracking === false ? false : true; config.deleteDevChannelBeforeInstall = config.deleteDevChannelBeforeInstall === true; + config.sceneGraphDebugCommandsPort = config.sceneGraphDebugCommandsPort ? config.sceneGraphDebugCommandsPort : this.configDefaults.sceneGraphDebugCommandsPort; if (typeof config.remoteControlMode === 'boolean') { config.remoteControlMode = { activateOnSessionStart: config.remoteControlMode,