Skip to content

Debug Powershell Untitled Files Not Working #123179

@SoulSeekkor

Description

@SoulSeekkor

Issue Type: Bug

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.

image

VS Code version: Code 1.56.0 (cfa2e21, 2021-05-04T22:09:06.405Z)
OS version: Windows_NT x64 10.0.19042

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2592)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.76GB (3.55GB free)
Process Argv --crash-reporter-id 4cda4c07-a942-4082-a034-ead1f803f951
Screen Reader no
VM 0%
Extensions (3)
Extension Author (truncated) Version
powershell ms- 2021.2.2
material-icon-theme PKi 4.6.0
vscode-inline-values-powershell Tyl 0.0.5

Metadata

Metadata

Assignees

Labels

*caused-by-extensionIssue identified to be caused by an extensiondebugDebug viewlet, configurations, breakpoints, adapter issuesunder-discussionIssue is under discussion for relevance, priority, approach

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions