You enable this feature by adding 'pydebug' to the make.bat invocation.
This changes the following options compared to a regular project.
- Blender debug options.
normally we do not supply any, when pydebug is enabled, -con --env-system-scripts \"${CMAKE_SOURCE_DIR}/release/scripts\ is added.
this will make both release and debug share the same scripts, also it skips the tedious INSTALL step every time you edit a script.
- Cycles gets installed to the user scripts folder instead.
Since cycles doesn't live in release/scripts but gets copied to the output folder during INSTALL the changes in 1 break cycles.
to work around this, cycles is copied to the user scripts folder.
not ideal, but I don't see a more elegant option.
- 2 new sub projects are added with the contents of release/script and the user scripts folder.
None of these things will be done if pydebug is not active, so there should be no disruption for regular users.
