r2-studio / robotmon-scripts

Run Javascript on Android. Screenshot, Touch, ...
Apache License 2.0
78 stars 66 forks source link

Getting started with VSCode extension #483

Closed mcs closed 10 months ago

mcs commented 10 months ago

Hello,

As I have no clue if and where a developer discussion group exists on some messaging platform, I try it here.

Maybe I'm a bit late on this party. I am new to Robotmon and now want to extend an existing plugin. I already have VSCode with Robotmon's VSCode extension running, can connect to the phone, see the running screen (screen sync panel) and debug logs. But I have no idea how I can there attach the Git scripting code to a debug session, or how I can publish my own local code changes onto the phone and then see them live. Regarding section "H. Device Control Panel" there should be commands like "Run", "Pause" and "Control", but I only see "Settings" and "Targets[]" menu entries, so I probably miss something important.

Are there further resources (like a video) or a Robotmon plugin developer group which someone can recommend?

Kind regards, Marcus

mcs commented 10 months ago

Okay, after some trial and error I realized that the referred folder /sdcard/Robotmon had to be /sdcard/Download/Robotmon. Now I can see the "Run" menu item, even I don't know how to use it properly. But as this also created a new "Downloaded" folder within Robotmon, I now know how I get my files to the VM.

Step by step :-)