Using VS Code to debug FreeCAD Macros.
HTML-код
- Опубликовано: 2 май 2021
- Using VS Code to debug FreeCAD Macros.
A short straight to the point video to show how to setup VS Code to debug FreeCAD macros and Python Scripts.
You will need to install Python on your system and then you will need to install ptvsd. Note that FreeCAD comes with an embedded python engine but you need to install Python directly if you want to install ptvsd.
The Python Visual Studio Debugger engine ( ptvsd ) implements the Visual Studio Code debug protocol and is used as the debug engine in Visual Studio and Visual Studio Code.
pip install ptvsd
The rest is pretty simple.
Hope this helps some people.