Documentation
Documentation copied to clipboard
PyCharm IDE Debugging Troubleshooting
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.43is 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
masterbranch - [x] I have confirmed that this is not a duplicate issue by searching issues
Update Python and PyCharm with the additional steps for setting up autocomplete
@jhonabreul Was this supported anymore? I recall some mention of python debugging challenges?