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 LICENSE NUMBERS, ACTIVATION 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.
This topic is 4 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
yobyot
Posts: 40
Last visit: Tue Jun 02, 2020 3:09 pm

Does the deubgger in Studio debug PowerShell 6 scripts?

Post by yobyot »

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: 8489
Last visit: Thu Apr 18, 2024 1:15 pm
Answers: 20
Been upvoted: 37 times

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

Post by Alexander Riedel »

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.
This topic is 4 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.