Closed BriceBoy closed 4 weeks ago
Normally you don't need a launch.config, just search for robotcode.debug.attachPython
in VSCode settings an enable it. If you want debug also python system libraries or python libraries that are not part of the workspace, enable the debugpy.debugJustMyCode
setting.
Thank you for your time !
Apparently you are right I don't need the launch config but if I can remember right I made it to use breakpoints correctly. Maybe I'm wrong. However the debugger still doesn't open file in which breakpoint is set when it reaches it.
I just saw this, it might be related to my problem :
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
I finally found the solution to my problem, I downgraded to VSCode v1.89.1 (Python Debugger Issue)
very good! Thanks for the info!
I would like to know how to configure python debugger properly. Before, I could just debug tests and use breakpoints in python code but I can't seem to do it properly. When it hits a breakpoint it does not open the file the breakpoint is in and I can't see variables values.
I can see that it's stopped on a breakpoint :![image](https://github.com/robotcodedev/robotcode/assets/45175007/cdedc522-00ab-4dd7-a646-226012f290ac)
If I go to the file it's stopped in, I can't seem to see variables values :![image](https://github.com/robotcodedev/robotcode/assets/45175007/ca03abc4-9eeb-47a0-95ab-188118d707d9)
Here is my actual configuration