-
Notifications
You must be signed in to change notification settings - Fork 510
History through up and down arrow in Debugger is not available #975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This should be coming with the introduction of PSReadline support. Tracked in issue #535. |
Ok great! Looking forward to it! |
Yep, closing this issue in favor of the other one. |
Hi, I would like to reopen this issue, as I have the feeling that the fix you are preparing (thread here #535 and #1310 ) will come only with the drop of support of PS 3 and 4. As a matter a fact, this is the only (but the most painfull) issue I have with Vscode, and I would really like to have this one solved. |
@Stephanevg, this was the intended plan since PSReadLine will require dropping 3 and 4. Is this not suitable for you? |
@tylerl0706 This means that VScode must run a Ps versions 5 and above, right? If that is the case, then I am ok with this resolution. |
@Stephanevg: if you have Windows PS 5 installed on your machine, So in short: if you don't have 5 installed on your machine, this will continue to fail after we move to PSReadline. If you do have 5 installed, |
I've built a new preview of the v2 extension that you can find here: #535 (comment). Also, on the |
Hi guys, I hope everybody is well ^^
For any Powershell script that I open in VScode, when I set a break point, and launch the script, VS code will stop at that breakpoint.
Once stopped, I then have the possibility to launch several commands in the interactive shell beneath the scripting pane. I can have a look into variables, launch various powershell commands, my loaded functions without any issue.
If I want to recall a command that I typed earlier, by pressing the up or down arrow nothing happens. I need to retype the complete command if I want to call the same command twice.
Reproduction Steps:
Create a script called Test.ps1
Add a few random commands in it:
Get-Command
Get-Random
Get-Module
Get-Service
Set a break point on Get-Random for example, and call the script
In the debugger type get-process, get-history,get-random
Try to use the up or down arrow to get to the previous typed commands (this is what is not working).
VScode version:
PSExention version --> 1.4.1
System Details
$PSVersionTable
:See below
The text was updated successfully, but these errors were encountered: