Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual debug alternative using VS Code extension "Blender Development"? #1063

Open
Pugens opened this issue Feb 12, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@Pugens
Copy link

Pugens commented Feb 12, 2024

Describe the issue

Hi, thanks in advance for ur time and help!

I am trying to debug the scene, as objects will be randomly positioned, as well as lights, and cameras around the POI, in an iterative manner.

I see you have thought about running Blender GUI with blenderproc degub, but that does not give me the possibility to do breakpoints.

When I run the script with the debugpy and the port you indicate (5678), I can instead use breakpoints and debug my data generation along the way, if needed.

Example script:
image

But to me the ideal debugging experience in VSCode would be running the Blender 3.5 instance as the
Blender Development extension does, and then, with the target script open, attach to the stack of such extension. I don't know if this is possible, but it would be great!

Unfortunately, I think this extension cannot source the same python environment where blenderproc is installed...

image

I am also trying to attach to the same debugpy run by the extension, but I get the error that the port is already busy

I will be doing some testing on my linux machine tomorrow, unless you tell me it a lost cause

Minimal code example

No response

Files required to run the code

No response

Expected behavior

Debugging is working as expected, just a suggestion/improvement

BlenderProc version

2.7.0

@Pugens Pugens added the question Question, not yet a bug ;) label Feb 12, 2024
@cornerfarmer cornerfarmer added enhancement New feature or request and removed question Question, not yet a bug ;) labels Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants