Skip to content

Debugger is attached but can't stop on breakpoints #28

@SanzioCaroli

Description

@SanzioCaroli

OS: Windows 10

Add-on Version: 2.2.0

Blender Version: 3.2.1

VS Code Version: 1.69.2

VS Code Python Extension Version: v2022.10.1

  • debugpy version: 1.6.2

Paths listed by where python or the corresponding command:
where python
C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\bin\python.exe
C:\Program Files\FreeCAD 0.18\bin\python.exe
C:\Users\carolisa\AppData\Local\Programs\Python\Python310\python.exe

Does VS Code / Visual Studio connect to the troubleshooting script?
Yes

Python path/interpreter detected/selected by VS Code/Visual Studio:
C:\Users\carolisa\AppData\Local\Programs\Python\Python310\python.exe

Blender and VSCode connect succesfully ( see picture attached ).
But if I set a breakpoint on VsCode (on the print("test") statement) and I run the script with Alt-P on Blender, the breakpoint is ignored.
Uploading Capture.JPG…

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions