Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable local Python debugging with DebugPy #456

Merged

Conversation

jhonabreul
Copy link
Collaborator

@jhonabreul jhonabreul commented May 7, 2024

  • Enable local Python debugging with DebugPy.
  • Warn PTVSD deprecation:
    • PTVSD has been deprecated for 4+ years and DebugPy is its replacement.
    • PTVSD does not support Python 3.11, which is the cause of the issue.
    • We don't remote PTVSD yet but warn of it's deprecation and recommend using DebugPy instead.

Tested by debugging using --debug debugpy and following the nstructions in "Python and VS Code".
The instructions should be modified to reflect that using DebugPy is recommented now.

Closes #451

@jhonabreul jhonabreul requested a review from Martin-Molinero May 7, 2024 14:30
Copy link
Member

@Martin-Molinero Martin-Molinero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@jhonabreul jhonabreul merged commit 18642f6 into QuantConnect:master May 7, 2024
23 checks passed
@jhonabreul jhonabreul deleted the bug-451-python-logcal-debugging branch May 7, 2024 15:27
AlexCatarino added a commit to QuantConnect/Documentation that referenced this pull request May 7, 2024
@AlexCatarino
Copy link
Member

Documented: QuantConnect/Documentation@6866a27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pydev debugger: CRITICAL WARNING
3 participants