File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
debugger/extension/configuration/providers Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 200
200
"debug.debugFlaskConfigurationLabel" : " Flask" ,
201
201
"debug.debugFlaskConfigurationDescription" : " Launch and debug a Flask web application" ,
202
202
"debug.flaskEnterAppPathOrNamePathTitle" : " Debug Flask" ,
203
- "debug.flaskEnterAppPathOrNamePathPrompt" : " Enter path to application, e.g. 'app.py' or 'app'" ,
203
+ "debug.flaskEnterAppPathOrNamePathPrompt" : " Enter the path to the application, e.g. 'app.py' or 'app'" ,
204
204
"debug.flaskEnterAppPathOrNamePathInvalidNameError" : " Enter a valid name" ,
205
205
"debug.debugPyramidConfigurationLabel" : " Pyramid" ,
206
206
"debug.debugPyramidConfigurationDescription" : " Web Application" ,
Original file line number Diff line number Diff line change @@ -251,6 +251,7 @@ export namespace DebugConfigStrings {
251
251
} ;
252
252
export const enterAppPathOrNamePath = {
253
253
title : localize ( 'debug.flaskEnterAppPathOrNamePathTitle' ) ,
254
+ prompt : localize ( 'debug.flaskEnterAppPathOrNamePathPrompt' ) ,
254
255
invalid : localize ( 'debug.flaskEnterAppPathOrNamePathInvalidNameError' )
255
256
} ;
256
257
}
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export class FlaskLaunchDebugConfigurationProvider implements IDebugConfiguratio
46
46
const selectedApp = await input . showInputBox ( {
47
47
title : DebugConfigStrings . flask . enterAppPathOrNamePath . title ( ) ,
48
48
value : 'app.py' ,
49
- prompt : DebugConfigStrings . flask . selectConfiguration . description ( ) ,
49
+ prompt : DebugConfigStrings . flask . enterAppPathOrNamePath . prompt ( ) ,
50
50
validate : value => Promise . resolve ( ( value && value . trim ( ) . length > 0 ) ? undefined : DebugConfigStrings . flask . enterAppPathOrNamePath . invalid ( ) )
51
51
} ) ;
52
52
if ( selectedApp ) {
You can’t perform that action at this time.
0 commit comments