Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add "debug.saveBeforeStart": "none" to ISE Mode/for PowerShell files in general #3200

Closed
@TylerLeonhardt

Description

Summary of the new feature

Last stable vscode, we introduced a "feature" that would prompt you to save an untitled file before debugging it. This is because most debug adapters don't support debugging untitled files... But PowerShell does!

A setting was added in insiders to control this behavior now so Untitled PowerShell files are now debuggable again.

More info: microsoft/vscode#114890

Proposed technical implementation details (optional)

At a minimum, I think this setting should be added to ISE Mode. Users will expect F5 to run their script, even if it's not saved on disk, and ISE Mode was made for the beginner in mind.

Additionally, consider adding the following setting to the user's setting on start up/install:

"[powershell]" : {
 "debug.saveBeforeStart": "none";
}

Which will only apply this setting to PowerShell files.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    AltStyle によって変換されたページ (->オリジナル) /