Skip to content

Add additional options to run/debug button in editor #17583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
luabud opened this issue Oct 1, 2021 · 1 comment
Closed

Add additional options to run/debug button in editor #17583

luabud opened this issue Oct 1, 2021 · 1 comment
Labels
area-editor-* User-facing catch-all feature-request Request for new features or functionality needs community feedback Awaiting community feedback

Comments

@luabud
Copy link
Member

luabud commented Oct 1, 2021

because this button uses the "Python file" configuration under the hood, and it won't work for debugging a Flask or Django project, for example.

can we add other configurations in there?
image

or at least that python configurations are set in user settings? (also can add workspace/folder configurations if that file is in there.)

"launch": {
        "version": "0.2.0",
        "configurations": [
            {
                "name": "Debug Python",
                "type": "python",
                "request": "launch",
                "program": "${file}",
                "cwd": "${fileDirname}",
                "justMyCode": false,
                "internalConsoleOptions": "neverOpen"
            }
        ]
    }

i use this configuration in user settings for debug python files.
now i should use debug panel every time and in-editor debug button is useless.

Originally posted by @byehack in #17019 (comment)

@luabud luabud changed the title Add addition configurations to run/debug button in editor Add additional options to run/debug button in editor Oct 1, 2021
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Oct 1, 2021
@luabud luabud added needs community feedback Awaiting community feedback area-editor-* User-facing catch-all needs PR feature-request Request for new features or functionality and removed triage-needed Needs assignment to the proper sub-team needs PR labels Oct 1, 2021
@brettcannon
Copy link
Member

Thank you for submitting your feature request and everyone who considered it! Unfortunately this issue did not receive enough votes over the allotted time, and so we are closing the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-editor-* User-facing catch-all feature-request Request for new features or functionality needs community feedback Awaiting community feedback
Projects
None yet
Development

No branches or pull requests

2 participants