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

Debugger don't see the file in the same folder #24582

Open
Semkem opened this issue Dec 9, 2024 · 4 comments
Open

Debugger don't see the file in the same folder #24582

Semkem opened this issue Dec 9, 2024 · 4 comments
Assignees
Labels
area-terminal bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster

Comments

@Semkem
Copy link

Semkem commented Dec 9, 2024

Type: Bug

I'm trying to run the "main.py" file from the tutorial on the official vs code fastapi website and get an error in the terminal that the "models.py" is missing, althrough it is present and is not marked as missing in the "main.py" file code itself. When I hover the cursor over the word "models" in the "main.py" file itself, it shows that such a module exists, but the terminal says that it doesn't.

VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.26100
Modes:

System Info
Item Value
CPUs Intel(R) Pentium(R) CPU N3710 @ 1.60GHz (4 x 1600)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 3.91GB (0.34GB free)
Process Argv --crash-reporter-id b5ea168d-09d7-402c-8c78-8700867e9754
Screen Reader no
VM 0%
Extensions (28)
Extension Author (truncated) Version
vscode-intelephense-client bme 1.12.6
python-environment-manager don 1.2.4
gitlens eam 16.0.5
vscode-pull-request-github Git 0.100.3
go gol 0.42.1
cloudcode goo 2.22.0
vscode-docker ms- 1.29.3
vscode-language-pack-ru MS- 1.95.2024103009
vscode-kubernetes-tools ms- 1.3.18
data-workspace-vscode ms- 0.5.0
mssql ms- 1.26.0
sql-bindings-vscode ms- 0.4.0
sql-database-projects-vscode ms- 1.4.4
autopep8 ms- 2024.0.0
debugpy ms- 2024.12.0
python ms- 2024.20.0
vscode-pylance ms- 2024.12.1
remote-containers ms- 0.388.0
remote-wsl ms- 0.88.5
remote-explorer ms- 0.4.3
remote-server ms- 1.5.2
vscode-github-issue-notebooks ms- 0.0.130
sqltools mtx 0.28.3
vscode-yaml red 1.15.0
luna-paint Tyr 0.16.0
intellicode-api-usage-examples Vis 0.2.9
vscodeintellicode Vis 1.3.2
php-debug xde 1.35.0
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupyter:31046869
newcmakeconfigv2:31071590
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc1:31192215
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530

@karthiknadig karthiknadig transferred this issue from microsoft/vscode Dec 11, 2024
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Dec 11, 2024
@anthonykim1
Copy link

what is your directory structure and what is your current working directory in terminal?

@anthonykim1 anthonykim1 added area-terminal and removed triage-needed Needs assignment to the proper sub-team labels Dec 11, 2024
@github-actions github-actions bot added the info-needed Issue requires more information from poster label Dec 11, 2024
@Semkem
Copy link
Author

Semkem commented Dec 12, 2024

Same directory. With all files in it.

@anthonykim1
Copy link

You never provided your directory structure.

@Semkem
Copy link
Author

Semkem commented Dec 15, 2024

I can provide copy-paste of the full similar path in the explorer and terminal, I also trying to remove all non-english letters from the path and it doesn't help. I also have another issue thread with similar trouble, I think I can leave link here just to not to create a copy of one issue and there are screenshots with full path in explorer and terminal as I remember
Link: microsoft/debugpy#1764

@karthiknadig karthiknadig added the bug Issue identified by VS Code Team member as probable bug label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-terminal bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

4 participants