Skip to content
lmotta edited this page Mar 23, 2020 · 10 revisions

Welcome to the Debug Visual Studio plugin homepage!

Debug Visual Studio plugin was developed by Luiz Motta.

That tool is designed to help developers use the Visual Studio Code debuger inside the a plugin in QGIS.

For use need install the ptvsd's module.

pip3 install ptvsd

Steps for use the plugin.

  • Run the plugin See Port and Host in message

alt-text-1 alt-text-1

  • In VS Code Debbuger create a launch.json file

alt-text-1

alt-text-1

  • Edit launch.json file - Use same Port and Host in plugin's message (5678 and localhost)

alt-text-1

  • Create a breakpoint in script(Red point)

alt-text-1

  • Run debugger tool

alt-text-1

  • Debugger in action

alt-text-1

Clone this wiki locally