Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add pathMappings option to debugger#5254

Merged
andyleejordan merged 3 commits into
PowerShell:mainPowerShell/vscode-powershell:mainfrom
jborean93:path-mappingsjborean93/vscode-powershell:path-mappingsCopy head branch name to clipboard
Sep 4, 2025
Merged

Add pathMappings option to debugger#5254
andyleejordan merged 3 commits into
PowerShell:mainPowerShell/vscode-powershell:mainfrom
jborean93:path-mappingsjborean93/vscode-powershell:path-mappingsCopy head branch name to clipboard

Conversation

@jborean93

@jborean93 jborean93 commented Aug 3, 2025

Copy link
Copy Markdown
Contributor

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 AI review requested due to automatic review settings August 5, 2025 15:04
@JustinGrote

Copy link
Copy Markdown
Collaborator

Moving to ready per @jborean93 discord comment.

Copilot AI left a comment

Copy link
Copy Markdown

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

Comment thread package.json
Comment thread package.json Outdated
Comment thread package.json Outdated
jborean93 and others added 3 commits September 5, 2025 06:26
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@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.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.