Skip to content

Add documentation for clients that we expect python to be able to run directory #268

Open
@karthiknadig

Description

@karthiknadig

When you start debugging in vscode, this is the command line that it uses:

python <python-extension-dir>\pythonFiles\lib\python\debugpy\wheels\debugpy\adapter

Python is expected to automatically find main.py and run it. This is the same mechanism that is used to run zipped projects. Essentially if you have a main.py in the top level directory, and zip it up to say myproj.zip. you should be able to run it with python myproj.zip. If the custom-python is not able to do this, then that is the issue.

Originally posted by @karthiknadig in microsoft/vscode-python#11224 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions