Skip to content

Instantly share code, notes, and snippets.

View AsgerPetersen's full-sized avatar

Asger Skovbo Petersen AsgerPetersen

  • Copenhagen, Denmark
View GitHub Profile
@AsgerPetersen
AsgerPetersen / README.md
Last active October 19, 2020 13:15
Test rasterstats with or without boundless reading
@AsgerPetersen
AsgerPetersen / QGIS on OSX with Conda.md
Last active December 17, 2024 18:25
QGIS using conda on OSX
@AsgerPetersen
AsgerPetersen / Debugging QGIS on OSX using VSCode and conda.md
Last active April 30, 2024 12:55
Debugging QGIS python plugins on OSX using VSCode

Debugging QGIS python plugins using VSCode on OSX

This is how I debug QGIS using VSCode on OSX. Previously I used this approach. But since then ptvsd was deprecated and I also needed to install python modules backed by native C code. This is much easier to do in a conda based environment (actually, I didn't find a way to make it work with the official QGIS installer :-)).

Get QGIS running in a conda env

Follow this description to get QGIS running in conda.

Install debugpy

ptvsd is superseded by debugpy.

Acti