Skip to content

Commit 233863e

Browse files
committed
Add new pathMappings option
1 parent 4cea222 commit 233863e

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

package.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,24 @@
581581
"type": "string",
582582
"description": "If you would like to use a custom coreclr attach debug launch configuration for the debug session, specify the name here. Otherwise a default basic config will be used. The config must be a coreclr attach config. Launch configs are not supported.",
583583
"default": false
584+
},
585+
"pathMappings": {
586+
"type": "array",
587+
"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.",
588+
"items": {
589+
"type": "object",
590+
"properties": {
591+
"localRoot": {
592+
"type": "string",
593+
"description": "The local root to map."
594+
},
595+
"remoteRoot": {
596+
"type": "string",
597+
"description": "The remote root to map."
598+
}
599+
}
600+
},
601+
"default": []
584602
}
585603
}
586604
},
@@ -615,6 +633,24 @@
615633
"type": "boolean",
616634
"description": "Determines whether a temporary PowerShell Extension Terminal is created for each debugging session, useful for debugging PowerShell classes and binary modules. Overrides the user setting 'powershell.debugging.createTemporaryIntegratedConsole'.",
617635
"default": false
636+
},
637+
"pathMappings": {
638+
"type": "array",
639+
"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.",
640+
"items": {
641+
"type": "object",
642+
"properties": {
643+
"localRoot": {
644+
"type": "string",
645+
"description": "The local root to map."
646+
},
647+
"remoteRoot": {
648+
"type": "string",
649+
"description": "The remote root to map."
650+
}
651+
}
652+
},
653+
"default": []
618654
}
619655
}
620656
}

0 commit comments

Comments
 (0)