Hi Daniel, I came across this thread after using your extension.
I currently have my launcher.json file configured like so:
“version”: “0.2.0”,
“configurations”: [
{
“name”: “Python: Remote Attach”,
“type”: “python”,
“request”: “attach”,
“host”: “127.0.0.1”,
“port”: 5678,
}
]
I have a module called run_tests.py that I execute from CLI that interfaces with a device. In this run_tests.py, it will configure the robot environment and launch robot. I can currently debug the python backend with the above launcher.json settings and this added in my main file. At this point, VS code breakpoints will work from the GUI from all of my sub Libraries that are utilized by my test suites.
#5678 is the default attach port in the VS Code debug configurations. Unless a host and port are specified, host defaults to 127.0.0.1 debugpy.listen(5678) print(“Waiting for debugger attach”) debugpy.wait_for_client()
Do you know how I could configure your extension for this scenario like I am for python backend to debug my robot cases/custom keywords?