Skip to content

Debugging Python in Docker #3823

@JanPalasek

Description

@JanPalasek

I created a sample project using Docker > Add Docker Files to Workspace.

Then I ran Ctrl + F5, it correctly builds the image but then it raises an error that I can't get rid of:

Invalid message: "pythonPath" is not valid if "python" is specified.

Here is the sample project. I left everything default, just added app.py with a hello world message.

test.zip

Versions

  • System: Windows 11 using WSL 2 on Ubuntu 20.04.
  • Docker vscode: v1.23.3
  • Python vscode: v2023.2.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions