New-ServiceFabricPackageDebugParameter

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

Syntax

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.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CodePackageName

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

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ConfigPackageLinkFolder

Specifies the path to the config package link folder.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ConfigPackageName

Specifies the config package name.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ContainerEntryPoints

{{Fill ContainerEntryPoints Description}}

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ContainerEnvironmentBlock

{{Fill ContainerEnvironmentBlock Description}}

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ContainerLabels

{{Fill ContainerLabels Description}}

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ContainerMountedVolumes

{{Fill ContainerMountedVolumes Description}}

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DataPackageLinkFolder

Specifies the path to the data package link folder.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DataPackageName

Specifies the name of the data package.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DebuggerArguments

Specifies a value for debugger arguments.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DebuggerExePath

Specifies the path of the debugger .exe file.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-DebugParametersFile

Specifies a path to the debug parameters file.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisableReliableCollectionReplicationMode

{{Fill DisableReliableCollectionReplicationMode Description}}

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EntryPointType

Specifies the endpoint type.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EnvironmentBlock

Specifies the environment block.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-LockFile

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters: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.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-TimeoutSec

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

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WorkingFolder

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object