Skip to content

Conversation

jborean93
Copy link
Contributor

@jborean93 jborean93 commented Aug 3, 2025

PR Summary

PR to add the options added in the PR PowerShell/PowerShellEditorServices#2251.

PR Checklist

Note: Tick the boxes below that apply to this pull request by putting an x between the square brackets.
Please mark anything not applicable to this PR NA.

  • PR has a meaningful title
  • Summarized changes
  • [NA] PR has tests
  • This PR is ready to merge and is not work in progress
    • If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready

@JustinGrote JustinGrote changed the title WIP: Add new pathMappings option Debug: add pathMappings option Aug 5, 2025
@JustinGrote JustinGrote marked this pull request as ready for review August 5, 2025 15:04
@Copilot Copilot AI review requested due to automatic review settings August 5, 2025 15:04
@JustinGrote
Copy link
Collaborator

Moving to ready per @jborean93 discord comment.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new pathMappings configuration option to PowerShell debug configurations to support debugging remote PowerShell host processes. The feature enables mapping between local and remote file paths during debugging sessions.

  • Adds pathMappings array property to both PowerShell launch and attach debug configurations
  • Each path mapping consists of localRoot and remoteRoot properties for file path translation
  • Provides detailed descriptions for the new configuration options

@andyleejordan andyleejordan changed the title Debug: add pathMappings option Add pathMappings option to debugger Sep 4, 2025
@andyleejordan andyleejordan enabled auto-merge (squash) September 4, 2025 20:30
@andyleejordan andyleejordan merged commit 5bacca5 into PowerShell:main Sep 4, 2025
4 checks passed
@jborean93 jborean93 deleted the path-mappings branch September 4, 2025 20:56
@andyleejordan andyleejordan added Issue-Enhancement A feature request (enhancement). Area-Debugging labels Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Debugging Issue-Enhancement A feature request (enhancement).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants