You should already have used make.bat to build blender before, in this section we'll use it to generate a Visual Studio project with the options enabled we need for debugging python. ![]() This is not enabled by default with Python Development Workload, but is required for the "Python/Native Debugger" option to show up later. Enable the "Python native development tools" individual component.Enable the Python Development Workload (just like for VS2017).In the visual studio installer, enable the Python Development workload.It’s a feature called tasks and while the examples give are for compiling code, you can pretty much just run any program against the code you are editing in VSCode. This guide assumes you already know how to build blender, if you have not yet done so, please follow the Building_Blender/Windows guide. There isn’t much support for Python in Microsoft new code editor Visual Studio Code (VSCode), but there is a neat way to run your Python code right inside VSCode. This guide will help you set it up for use with blender. ![]() Visual Studio 2017 offers integrated debugging of python. Debugging blender python with Visual Studio Introduction
0 Comments
Leave a Reply. |