-
Notifications
You must be signed in to change notification settings - Fork 49
Update debug python button #138
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
Update debug python button #138
Conversation
What's the difference between "Debug Python File" and "Python Debugger: Debug Python File"? |
@@ -5,13 +5,17 @@ import * as path from 'path'; | |||
import * as fs from 'fs-extra'; | |||
import { parse } from 'jsonc-parser'; | |||
import { DebugConfiguration, Uri, WorkspaceFolder } from 'vscode'; | |||
import { getWorkspaceFolder } from '../../../common/vscodeapi'; | |||
import { getConfiguration, getWorkspaceFolder } from '../../../common/vscodeapi'; | |||
|
|||
export async function getConfigurationsForWorkspace(workspace: WorkspaceFolder): Promise<DebugConfiguration[]> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you need to look up launch configs for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the proposal, we check if there is any configuration already created. If not, we show the user the prompt to create the launch.json
The first one come from the Python Extension and the new one is for the Python Debugger. When we remove the debugger from the python debugger there will only be one. |
I would suggest removing the "Python Debugger" prefix from this extension's commands, it seems redundant |
Closed: #137