microsoft / microsoft/vscode-containers

Fail to debug a python project

Open
#134 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

AT-CTI blocked Python
Dominant language
TypeScript
Stars
139
Forks
87
Avg merge
9h 15m
Merged PRs (30d)
9

Description

OS: Win 10
Build Version: 20240117.1

Repro Steps:

  1. Open a python project myapp.zip in VS Code Insiders.
  2. F1 -> Docker: Add Docker Files to Workspace -> Python: General -> Include docker compose files.
  3. Debug this project.
  4. Check whether succeeds to debug the python project or not.

Expect:
Succeed to debug the python project.

Actual:
Fail to debug the python project with an error.
image

More Info:

  1. This issue also reproduces for Django or Flask project.
  2. This is the launch.json file.
    image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure from myapp.zip in VS Code Insiders using Docker: Add Docker Files to Workspace with the Python: General and Docker Compose options. Start by checking the generated launch.json and the error shown during debugging. Done means the Python project, including Django or Flask variants, debugs successfully without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker-compose, python, vscode
Domain
devops, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.