Skip to content

when use ["stopOnEntry": true,] in launch.json , debug python failed #69201

@dmfan

Description

@dmfan
  • VSCode Version: 1.31.1(user setup)
  • OS Version: windows10

Steps to Reproduce:

1.'F5'Debug python just like before, but have not any output and result, and the program hasn't stopped at the beginning.
2.But if I comment the line '"stopOnEntry": true,' ,the program debug fluently. I think the version vscode has some bug.

image

//launch.json
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"stopOnEntry": true,
"pythonPath": "${config:python.pythonPath}",
"program": "${file}",
"cwd": "${workspaceFolder}",
"env": {},
"envFile": "${workspaceFolder}/.env",
"debugOptions": [
"RedirectOutput"
]
},

Does this issue occur when all extensions are disabled?: Yes/No

Metadata

Metadata

Assignees

No one assigned

    Labels

    *caused-by-extensionIssue identified to be caused by an extension

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions