Share via


New-ServiceFabricPackageDebugParameter

Adds debug parameters for a code package in a service package.

Syntax

Default (Default)

New-ServiceFabricPackageDebugParameter
    [-CodePackageName] <String>
    [-ServiceManifestName] <String>
    [-EntryPointType <String>]
    -DebuggerExePath <String>
    [-DebuggerArguments <String>]
    [-CodePackageLinkFolder <String>]
    [-ConfigPackageLinkFolder <String>]
    [-DataPackageLinkFolder <String>]
    [-LockFile <String>]
    [-WorkingFolder <String>]
    [-DebugParametersFile <String>]
    [-EnvironmentBlock <String>]
    [-ConfigPackageName <String>]
    [-DataPackageName <String>]
    [-ContainerEntryPoints <String[]>]
    [-ContainerMountedVolumes <String[]>]
    [-ContainerEnvironmentBlock <String[]>]
    [-ContainerLabels <String[]>]
    [-DisableReliableCollectionReplicationMode <Boolean>]
    [-TimeoutSec <Int32>]
    [<CommonParameters>]

Description

The New-ServiceFabricPackageDebugParameter cmdlet adds debug parameters for a code package in a service package. The debug parameters provide a mechanism to specify information for debugger when Service Fabric launches code packages.

To manage Service Fabric clusters, start Windows PowerShell by using the Run as administrator option. Before you perform any operation on a Service Fabric cluster, establish a connection to the cluster by using the Connect-ServiceFabricCluster cmdlet.

Parameters

-CodePackageLinkFolder

Specifies the directory of the Service Fabric code package folder.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CodePackageName

Specifies the name of a Service Fabric code package. The cmdlet adds a debug parameter to the package that this parameter specifies.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ConfigPackageLinkFolder

Specifies the path to the config package link folder.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ConfigPackageName

Specifies the config package name.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ContainerEntryPoints

{{Fill ContainerEntryPoints Description}}

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ContainerEnvironmentBlock

{{Fill ContainerEnvironmentBlock Description}}

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ContainerLabels

{{Fill ContainerLabels Description}}

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ContainerMountedVolumes

{{Fill ContainerMountedVolumes Description}}

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DataPackageLinkFolder

Specifies the path to the data package link folder.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DataPackageName

Specifies the name of the data package.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DebuggerArguments

Specifies a value for debugger arguments.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DebuggerExePath

Specifies the path of the debugger .exe file.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DebugParametersFile

Specifies a path to the debug parameters file.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DisableReliableCollectionReplicationMode

{{Fill DisableReliableCollectionReplicationMode Description}}

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-EntryPointType

Specifies the endpoint type.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-EnvironmentBlock

Specifies the environment block.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LockFile

The New-ServiceFabricPackageDebugParameter cmdlet adds debug parameters for a code package in a service package. The debug parameters provide a mechanism to specify information for debugger when Service Fabric launches code packages.

To manage Service Fabric clusters, start Windows PowerShell by using the Run as administrator option. Before you perform any operation on a Service Fabric cluster, establish a connection to the cluster by using the Connect-ServiceFabricCluster cmdlet.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ServiceManifestName

Specifies the name of a Service Fabric service manifest. The cmdlet adds a debug parameter for the service manifest that this cmdlet specifies.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-TimeoutSec

Specifies the time-out period, in seconds, for the operation.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WorkingFolder

The New-ServiceFabricPackageDebugParameter cmdlet adds debug parameters for a code package in a service package. The debug parameters provide a mechanism to specify information for debugger when Service Fabric launches code packages.

To manage Service Fabric clusters, start Windows PowerShell by using the Run as administrator option. Before you perform any operation on a Service Fabric cluster, establish a connection to the cluster by using the Connect-ServiceFabricCluster cmdlet.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments: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.

Inputs

None

Outputs

System.Object