Set up RALE for easier testing

This commit is contained in:
Charles Ewert 2023-04-01 19:06:14 -04:00
parent ea031af29b
commit 80cce41085
2 changed files with 5 additions and 1 deletions

4
.vscode/launch.json vendored
View File

@ -6,6 +6,10 @@
"request": "launch",
"name": "Jellyfin Debug: Launch",
"stopOnEntry": false,
// To enable RALE:
// set "brightscript.debug.raleTrackerTaskFileLocation": "/absolute/path/to/rale/TrackerTask.xml" in your vscode user settings
// set the below field to true
"injectRaleTrackerTask": false,
//WARNING: don't edit this value. Instead, set "brightscript.debug.host": "YOUR_HOST_HERE" in your vscode user settings
//"host": "${promptForHost}",
//WARNING: don't edit this value. Instead, set "brightscript.debug.password": "YOUR_PASSWORD_HERE" in your vscode user settings

View File

@ -30,7 +30,7 @@ sub Main (args as dynamic) as void
m.port = CreateObject("roMessagePort")
m.screen.setMessagePort(m.port)
m.scene = m.screen.CreateScene("JFScene")
m.screen.show()
m.screen.show() ' vscode_rale_tracker_entry
' Set any initial Global Variables
m.global = m.screen.getGlobalNode()