PowerShell / PowerShell/PowerShellEditorServices

Add debugger pseudo-variable to display "returned" value like C# debugger provides

Open
#356 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Debugging Issue-Enhancement
Dominant language
C#
Stars
767
Forks
266
Avg merge
3d 16h
Merged PRs (30d)
1

Description

I'm not sure if this is possible or not but it sure would be nice to have. Many times PowerShellers just let various statements "output" from the function so after you've called a function (and you don't capture the output in a variable) it is hard to tell what output the called function is contributing to the output of the current function/script.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by investigating the PowerShell debugger support and how debugger values are exposed to the editor. Determine whether a pseudo-variable for a function's returned output is feasible and define the expected behavior before identifying the implementation and test entry points. Done means the feature works consistently during debugging and has coverage for representative function output.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.