Skip to content

uanble to run code in python #25753

Closed as not planned
Closed as not planned

Description

@pradeepin7979

(base) C:\Users\Lenovo> "request": "launch",
'"request":' is not recognized as an internal or external command,
operable program or batch file.

(base) C:\Users\Lenovo> "console": "none",
'"console":' is not recognized as an internal or external command,
operable program or batch file.

(base) C:\Users\Lenovo> ...
'...' is not recognized as an internal or external command,
operable program or batch file.

(base) C:\Users\Lenovo>}

Activity

  1. eleanorjboyd commented on Feb 10, 2026

    @eleanorjboyd
    Member

    I think the problem is the debug configuration JSON is being executed as a command instead of being used by the debugger.
    try these debug steps:

    1. Try running without debug config: Use "Run Python File" button (play icon) instead of F5/debug
    2. Check for corrupted launch.json: Delete launch.json and let VS Code regenerate
    3. Check terminal settings: Ensure "python.terminal.executeInFileDir" is not causing issues
    4. Try a fresh workspace: Create a new folder with a simple test.py file to isolate the issue
  2. added
    info-neededIssue requires more information from poster
    and removed
    feature-requestRequest for new features or functionality
    triage-neededNeeds assignment to the proper sub-team
    on Feb 10, 2026
  3. github-actions commented on Mar 13, 2026

    @github-actions

    Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off.

    Happy Coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions