Skip to content
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

Debug Powershell Untitled Files Not Working #123179

Closed
SoulSeekkor opened this issue May 6, 2021 · 5 comments
Closed

Debug Powershell Untitled Files Not Working #123179

SoulSeekkor opened this issue May 6, 2021 · 5 comments
Assignees
Labels
*caused-by-extension Issue identified to be caused by an extension debug Debug viewlet, configurations, breakpoints, adapter issues under-discussion Issue is under discussion for relevance, priority, approach

Comments

@SoulSeekkor
Copy link

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
@isidorn
Copy link
Contributor

isidorn commented May 6, 2021

@TylerLeonhardt this should just work right? Can you double check?

@isidorn isidorn added debug Debug viewlet, configurations, breakpoints, adapter issues under-discussion Issue is under discussion for relevance, priority, approach labels May 6, 2021
@TylerLeonhardt
Copy link
Member

It should just work. Seems to be working for me:
image

You probably want to get an issue going in the PowerShell extension for further debugging:

/extPowershell

@TylerLeonhardt
Copy link
Member

/extPowershell

@TylerLeonhardt
Copy link
Member

please bot, work your magic!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*caused-by-extension Issue identified to be caused by an extension debug Debug viewlet, configurations, breakpoints, adapter issues under-discussion Issue is under discussion for relevance, priority, approach
Projects
None yet
Development

No branches or pull requests

4 participants
@isidorn @TylerLeonhardt @SoulSeekkor and others