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

Sign up
Appearance settings

Commit 5bacca5

Browse files
Add pathMappings option to debugger (#5254)
Requires PowerShell/PowerShellEditorServices#2251
1 parent 9248853 commit 5bacca5

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

‎package.json‎

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,28 @@
596596
"Hides the temporary PowerShell Extension Terminal when the debugging session ends and restores the previous window before the debug session had started. This does nothing if the previous window was closed during the debug session.",
597597
"Keeps the temporary PowerShell Extension Terminal open after the debugging session ends."
598598
]
599+
},
600+
"pathMappings": {
601+
"type": "array",
602+
"description": "Optional: An array of path mappings to use when debugging a remote PowerShell host process. Each mapping is an object with 'localRoot' and 'remoteRoot' properties. This is only used if the current integrated terminal is connected to a remote PowerShell runspace.",
603+
"items": {
604+
"type": "object",
605+
"properties": {
606+
"localRoot": {
607+
"type": "string",
608+
"description": "The local root to map."
609+
},
610+
"remoteRoot": {
611+
"type": "string",
612+
"description": "The remote root to map."
613+
}
614+
},
615+
"required": [
616+
"localRoot",
617+
"remoteRoot"
618+
]
619+
},
620+
"default": []
599621
}
600622
}
601623
},
@@ -645,6 +667,28 @@
645667
"Hides the temporary PowerShell Extension Terminal when the debugging session ends and restores the previous window before the debug session had started. This does nothing if the previous window was closed during the debug session.",
646668
"Keeps the temporary PowerShell Extension Terminal open after the debugging session ends."
647669
]
670+
},
671+
"pathMappings": {
672+
"type": "array",
673+
"description": "Optional: An array of path mappings to use when debugging a remote PowerShell host process. Each mapping is an object with 'localRoot' and 'remoteRoot' properties.",
674+
"items": {
675+
"type": "object",
676+
"properties": {
677+
"localRoot": {
678+
"type": "string",
679+
"description": "The local root to map."
680+
},
681+
"remoteRoot": {
682+
"type": "string",
683+
"description": "The remote root to map."
684+
}
685+
},
686+
"required": [
687+
"localRoot",
688+
"remoteRoot"
689+
]
690+
},
691+
"default": []
648692
}
649693
}
650694
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /