Skip to content

Commit cdee85f

Browse files
added troubleshooting help for PSReadLine bug
1 parent 8e5f6b2 commit cdee85f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/troubleshooting.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,13 @@ and you can ask for new features [in their repository](https://github.com/Micros
147147
- Document formatting is provided by [PSScriptAnalyzer], but there
148148
may be opportunities to improve our integration with it in the
149149
[PowerShell Extension] too.
150-
151-
## Reporting an issue
150+
- PSReadLine throws an error ever so often [#3701](https://github.com/PowerShell/vscode-powershell/issues/3701)
151+
- This is a known issue due to the
152+
`OnPowerShellIdle` function
153+
waiting to process events unknown we know the rest of the startup process has finished. ##
154+
Reporting an issue
155+
- A known work around includes unregistering from this event. `Get-EventSubscriber -Force -SourceIdentifier PowerShell.OnIdle -EA 0 | Unregister-Event -Force` can be added to your profile to help prevent this issue.
156+
- Related Issues [#3091](https://github.com/PowerShell/PSReadLine/issues/3091) [#16585](https://github.com/Azure/azure-powershell/issues/16586)
152157

153158
If you experience a problem with the [PowerShell Extension]:
154159

0 commit comments

Comments
 (0)