-
Notifications
You must be signed in to change notification settings - Fork 513
Debug Powershell Untitled Files Not Working #3343
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
Thanks @SoulSeekkor when you ran the debugger were you prompted to save the file? |
I was not! Thankfully that bug was fixed with the recent addition of the setting for VS Code to allow us to change the behavior back to not prompt on debug. I currently have it set to "nonUntitledEditorsInActiveGroup' so that it behaves like it used to, where we could run/debug untitled files without getting prompted. |
Was this mistakenly closed? I didn't mean by my last comment that this issue was resolved, only that the other VS Code prompt to save on debug problem was fixed by them adding that setting in that particular repo.... The issue with debug not working on untitled files is a whole other issue specific to this extension. Sorry if a fix was implemented and I missed it, I didn't see anything referenced here, just making sure. |
Issue Description
Porting an issue from here that was determined to be an extension issue specifically.
Unless my memory is incorrect, one of the biggest advantages to VS Code over ISE was that we used to be able to set breakpoints and debug Powershell files that were untitled and not saved yet.
With this version I've noticed that no longer works, I can set a breakpoint on an untitled tab and it does not stop, it simply runs the entire script without stopping.
Attached Logs
Follow the instructions in the README about
capturing and sending logs.
Environment Information
Visual Studio Code
PowerShell Information
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
The text was updated successfully, but these errors were encountered: