Does the deubgger in Studio debug PowerShell 6 scripts?

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
yobyot
Posts: 40
Joined: Mon Jul 13, 2015 10:52 am

Does the deubgger in Studio debug PowerShell 6 scripts?

Post by yobyot » Fri Jul 19, 2019 9:06 am

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: 5.6.166
32 or 64 bit version of product: 64-bit
Operating system: WIndows 10 1903
32 or 64 bit OS: 64-bit

*** Please add details and screenshots as needed below. ***

When I set PSS options to PowerShell 6 on the local machine, debugging isn't available. This post (from May, 2018!) -- https://www.sapien.com/blog/2018/03/29/ ... hell-core/ -- says, "The ability to Run and Debug the PowerShell Core script file will be implemented in a future release."

Has this been done. If not, when is it expected?

User avatar
Alexander Riedel
Posts: 7107
Joined: Tue May 29, 2007 4:43 pm

Re: Does the deubgger in Studio debug PowerShell 6 scripts?

Post by Alexander Riedel » Fri Jul 19, 2019 10:37 am

No, not yet. Microsoft dragged their feet releasing a functioning SDK for PowerShell Core.
There is no specified date at this time. As PowerShell 7 will become a mainstream Windows component again, it will make things 'easier'.
Alexander Riedel
SAPIEN Technologies, Inc.