F5 not continuing the script after stopping at a breakpoint
See original GitHub issueSystem Details Output
### VSCode version: 1.39.0-insider 817eb6b0c720a4ecbc13c020afbbebfed667aa09 x64
### VSCode extensions:
ban.spellright@3.0.46
ms-vscode.powershell@2019.9.0
ms-vscode.powershell-preview@2019.9.0
ritwickdey.LiveServer@5.6.1
### PSES version: 2.0.0.0
### PowerShell version:
Name Value
---- -----
PSVersion 5.1.14409.1018
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14409.1018
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Issue Description
I am experiencing a problem with debugging. When a breakpoint is set at a specific line in the PowerShell script and F5 is pressed the script is executed until that point. So far all good. However, when I want the script to continue after the breakpoint, usually I press F5 again and it continues to the next breakpoint or until the end if there are no breakpoints anymore.
When pressing F5 after the latest update it appears that the script does not continue and a pop up at the bottom right corner is shown.

The only way to continue the script, as before, is pressing the blue play button at the top.
Expected Behaviour
Have the F5 button continue the script after a breakpoint, just like it was before.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Stop Debugging (Shift+ F5) does not stop the test run VS 2019 ...
Though it will stop the test run when we clicked it, it will still continue at least one line of code (after the...
Read more >F5, run to the next break point not working? #196 - GitHub
Start the debugger (F5), letting it stop on the entry point; Set the desired breakpoint (in a new tab); Continue the debugger (F5)....
Read more >Why does "F5 - Start Debugging" ignore breakpoints in ...
the script runs but the breakpoints are ignored. The script I'm working on is substantial and I don't really want to have to...
Read more >Pressing F5 on a breakpoint reloads the debugger scripts
F5 is a common keyboard shortcut to resume execution. I pressed F5 on the debugger and all of the script sources were removed....
Read more >How to Debug Scripts in Windows PowerShell ISE
Press F5 or, on the toolbar, click the Run Script icon, or on the Debug menu, click Run/Continue or, in the Console Pane,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

TL;DR: Corbob rambles and screenshots things. Then discovers it’s a vscode-insider bug that is fixed in the next update. Link at the end.
I could also be wrong on that…
I don’t get the error when I try to F5 again… but it doesn’t continue. Probably a keybinding thing:
I have reverted to 2019.5.0 and happy to report that I was incorrect, F5 did not work there either. I think my confusion comes from that I usually am stepping and then just hit continue when F5 doesn’t work. But I agree with @DarkLite1 F5 should continue at that point. But also agree with @TylerLeonhardt this to me is a vscode issue as it’s the debug keybinding that should likely apply to all languages and not just PowerShell.I typed all this up, then looked at versions of vscode, so I’ll leave this here, but I will now also show this screenshot from vscode stable:So this is definitely an issue in code, and is only present in insiders. The keybinding is also there in insider:
Looks like it’s reported and fixed: https://github.com/microsoft/vscode/issues/81373
Thanks @corbob! I’ll close this as external