-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hi, I have followed the advices :
https://gist.github.com/AsgerPetersen/9ea79ae4139f4977c31dd6ede2297f90
-
Install ptvsd from Qgis 3.10 python env :
C:\PROGRA~1\QGIS 3.10\apps\Python37>pip install ptvsd==4.1.4 -
Install
debugvsplugin -
Identify plugin folder :
C:\Users\my_user\Documents\git\QgisCadastrePlugin\cadastre -
Open this plugin folder with VS Code (right click + open with code)
-
Create new debug
launch.jsonfile like that :
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Attacher",
"type": "python",
"request": "attach",
"connect": {
"host": "localhost",
"port": 5678
},
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "${workspaceFolder}"
}
]
}
]
}
- I open QGIS and activate Cadastre plugin. Click the debugvs button ang i get this error :
- When i modify debugvs plugin and remove
t_it works :
I could check output text info in VScode but no way to stop process on breakpoint.
Thanks.
Metadata
Metadata
Assignees
Labels
No labels

