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

Add notes & tooling for debugging in VSCode #185

Merged
merged 2 commits into from
Dec 27, 2024

Conversation

alukach
Copy link
Collaborator

@alukach alukach commented Dec 23, 2024

Closes #184

@alukach alukach marked this pull request as ready for review December 23, 2024 22:12
@alukach alukach requested a review from zacdezgeo December 23, 2024 22:12
@alukach
Copy link
Collaborator Author

alukach commented Dec 24, 2024

TODO: Needs note about how to install debugpy into QGIS' environment

Copy link
Collaborator

@zacdezgeo zacdezgeo left a comment

Choose a reason for hiding this comment

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

This will be super helpful to understand why the code is working or not!


The plugin can be debugged within [Visual Studio Code](https://code.visualstudio.com/) with the help of the [debugvs QGIS plugin](https://plugins.qgis.org/plugins/debug_vs).

> [!NOTE]
Copy link
Collaborator

Choose a reason for hiding this comment

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

The only thing I would add is installing debugpy. I had because I wasn't installing with the right QGIS pip: /Applications/QGIS-LTR.app/Contents/MacOS/bin/pip3 install debugpy

@gena gena merged commit 052c05c into master Dec 27, 2024
2 checks passed
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.

Document How to Use Visual Studio Code Debugger with QGIS Plugin Development
3 participants