Documentation icon indicating copy to clipboard operation
Documentation copied to clipboard

PyCharm IDE Debugging Troubleshooting

Open Martin-Molinero opened this issue 2 years ago • 2 comments
trafficstars

Expected Behavior

  • Documentation can help users using an older/newer pycharm IDE version that the one Lean image supports:
    • PyCharm IDE debugging requires a specific package version per IDE version
    • Lean image ships with a particular version see https://github.com/QuantConnect/Lean/blob/master/Dockerfile#L12 for pycharm 2023.1
    • The following error/warning might be seen for example when using 2022.3

Waiting for process connection… Connected to pydev debugger (build 231.9225.15) Warning: wrong debugger version. Use pycharm-debugger.egg from PyCharm installation folder Or execute: 'pip install pydevd-pycharm~=%223.8836.43' SUCCESS: Connected to docker container

  • Running lean library add "My Python Project" pydevd-pycharm --version 223.8836.43 is a work around for this

Actual Behavior

N/A

Checklist

  • [x] I have completely filled out this template
  • [x] I have confirmed that this issue exists on the current master branch
  • [x] I have confirmed that this is not a duplicate issue by searching issues

Martin-Molinero avatar Jul 18 '23 13:07 Martin-Molinero

@jhonabreul Was this supported anymore? I recall some mention of python debugging challenges?

jaredbroad avatar May 14 '24 16:05 jaredbroad