-
Notifications
You must be signed in to change notification settings - Fork 240
Open
Labels
Area-DebuggingArea-Extension TerminalIssue-EnhancementA feature request (enhancement).A feature request (enhancement).
Description
Lines 744 to 752 in d156a73
| // Add the [DBG] prefix if we're stopped in the debugger and the prompt doesn't already have [DBG] in it | |
| if (this.powerShellContext.IsDebuggerStopped && !promptString.Contains("[DBG]")) | |
| { | |
| promptString = | |
| string.Format( | |
| CultureInfo.InvariantCulture, | |
| "[DBG]: {0}", | |
| promptString); | |
| } |
Is this function really necessary? The prompt function already has this DBG: detection in it, and if someone has customized the prompt (as I have), it adds an extra DBG: where it is unwanted. Perhaps a toggle feature flag via the API can be made available?
Metadata
Metadata
Assignees
Labels
Area-DebuggingArea-Extension TerminalIssue-EnhancementA feature request (enhancement).A feature request (enhancement).