Debugger ModuleNotFoundError despite working for run
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 210
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to run the debugger for my code. The editor works for the normal "run" mode but when I turn on the debugger, it can't find local files.
```python
import cadquery as cq
from top_plate import create_plate
show_object(create_plate())
```
top_plate.py
```python
import cadquery as cq
from settings import keyboard_cols, keyboard_rows, keyboard_length, keyboard_width, unit, switch, top_plate_thickness
def create_plate():
# Create top plate
return (cq.Workplane("XY").box(
keyboard_length, keyboard_width, top_plate_thickness)
# Fillet the base corners for less warping
.edges("|Z").fillet(4))
```
Here is the function I am trying to run. The setting to add the working dictionary to the path has been set. I have tried running `print(sys.path)` and it looks like when I use run, it behaves as expected. But when the debugger runs, the local dictionary is missing from the path.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.