The Enable-RunspaceDebug cmdlet enables debugging on runspaces where any breakpoint is preserved until a debugger is attached.
示例
1:
2:
参数
-AppDomainName
The Enable-RunspaceDebug cmdlet enables debugging on runspaces where any breakpoint is preserved until a debugger is attached.
参数属性
类型:
String[]
默认值:
None
支持通配符:
False
不显示:
False
参数集
ProcessNameParameterSet
Position:
1
必需:
False
来自管道的值:
False
来自管道的值(按属性名称):
False
来自剩余参数的值:
False
-BreakAll
The Enable-RunspaceDebug cmdlet enables debugging on runspaces where any breakpoint is preserved until a debugger is attached.
参数属性
类型:
SwitchParameter
默认值:
None
支持通配符:
False
不显示:
False
参数集
RunspaceNameParameterSet
Position:
1
必需:
False
来自管道的值:
False
来自管道的值(按属性名称):
False
来自剩余参数的值:
False
RunspaceParameterSet
Position:
1
必需:
False
来自管道的值:
False
来自管道的值(按属性名称):
False
来自剩余参数的值:
False
RunspaceIdParameterSet
Position:
1
必需:
False
来自管道的值:
False
来自管道的值(按属性名称):
False
来自剩余参数的值:
False
-ProcessName
The Enable-RunspaceDebug cmdlet enables debugging on runspaces where any breakpoint is preserved until a debugger is attached.
参数属性
类型:
String
默认值:
None
支持通配符:
False
不显示:
False
参数集
ProcessNameParameterSet
Position:
0
必需:
False
来自管道的值:
False
来自管道的值(按属性名称):
False
来自剩余参数的值:
False
-Runspace
Specifies a runspace object.
The simplest way to provide a value for this parameter is to specify a variable that contains the results of a filtered Get-Runspace command.
参数属性
类型:
Runspace[]
默认值:
None
支持通配符:
False
不显示:
False
参数集
RunspaceParameterSet
Position:
0
必需:
True
来自管道的值:
True
来自管道的值(按属性名称):
True
来自剩余参数的值:
False
-RunspaceId
The Enable-RunspaceDebug cmdlet enables debugging on runspaces where any breakpoint is preserved until a debugger is attached.
参数属性
类型:
Int32[]
默认值:
None
支持通配符:
False
不显示:
False
参数集
RunspaceIdParameterSet
Position:
0
必需:
True
来自管道的值:
False
来自管道的值(按属性名称):
False
来自剩余参数的值:
False
-RunspaceInstanceId
The Enable-RunspaceDebug cmdlet enables debugging on runspaces where any breakpoint is preserved until a debugger is attached.
参数属性
类型:
Guid[]
默认值:
None
支持通配符:
False
不显示:
False
参数集
RunspaceInstanceIdParameterSet
Position:
0
必需:
True
来自管道的值:
False
来自管道的值(按属性名称):
False
来自剩余参数的值:
False
-RunspaceName
The Enable-RunspaceDebug cmdlet enables debugging on runspaces where any breakpoint is preserved until a debugger is attached.
参数属性
类型:
String[]
默认值:
None
支持通配符:
False
不显示:
False
参数集
RunspaceNameParameterSet
Position:
0
必需:
False
来自管道的值:
False
来自管道的值(按属性名称):
False
来自剩余参数的值:
False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters.