debug: Migrating from robotfw language server to robotcode #415
-
Hi, Most of the first migration steps were running without any problems. With the old Robotframework LS I'm able to step into the python code. I try to find some tutorials but nothing really helps. Actually I'm unsing So has anyone an example for a toml oder a launch.json? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
RobotCode does support debugging and stepping into python code. I think that this is part of the Pylance extension that it also installs as a dependency. I'm not sure if Python Debugger as a extension collides, but if you turn on this toggle: You should be able to step into python code, I just have RobotCode itself installed and that works for me. If it doesn't work with the Python Debugger extension, you can try and disable it, and see if it works then. It could be that Pylance and Python Debugger just don't like eachother. Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Ok, have tried it, and it works. Many Thanks! |
Beta Was this translation helpful? Give feedback.
RobotCode does support debugging and stepping into python code. I think that this is part of the Pylance extension that it also installs as a dependency.
I'm not sure if Python Debugger as a extension collides, but if you turn on this toggle:
You should be able to step into python code, I just have RobotCode itself installed and that works for me. If it doesn't work with the Python Debugger extension, you can try and disable it, and see if it works then. It could be that Pylance and Python Debugger just don't like eachother.
Hope this helps!