You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Debug Prompt isn't consistently firing. I think we should use $Host.Runspace.Debugger.InBreakpoint instead of $PSDebugContext and Get-PSCallStack. Or if we could just add it in as -or logic?
Code of Conduct
What happened?
The Debug Prompt isn't consistently firing. I think we should use
$Host.Runspace.Debugger.InBreakpoint
instead of$PSDebugContext
andGet-PSCallStack
. Or if we could just add it in as-or
logic?https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/src/shell/scripts/omp.ps1#L362
Here is a repo of it not working based on the code above.
If you change the logic to
if ( $Host.Runspace.Debugger.InBreakpoint )
it works.Reference
PowerShell/vscode-powershell#3980
Theme
What OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output
The text was updated successfully, but these errors were encountered: