New-​Service​Fabric​Package​Debug​Parameter

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

Syntax

New-ServiceFabricPackageDebugParameter
   [-CodePackageName] <String>
   [-ServiceManifestName] <String>
   [-CodePackageLinkFolder <String>]
   [-ConfigPackageLinkFolder <String>]
   [-ConfigPackageName <String>]
   [-DataPackageLinkFolder <String>]
   [-DataPackageName <String>]
   [-DebuggerArguments <String>]
   -DebuggerExePath <String>
   [-DebugParametersFile <String>]
   [-EntryPointType <String>]
   [-EnvironmentBlock <String>]
   [-LockFile <String>]
   [-TimeoutSec <Int32>]
   [-WorkingFolder <String>]
   [<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.

Required Parameters

-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:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DebuggerExePath

Specifies the path of the debugger .exe file.

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

Optional Parameters

-CodePackageLinkFolder

Specifies the directory of the Service Fabric code package folder.

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

Specifies the config package name.

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

Specifies the name of the data package.

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

Specifies a path to the debug parameters file.

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

Specifies a value for debugger arguments.

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

Specifies the endpoint type.

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

Specifies the environment block.

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

Inputs

None

You cannot pipe input to this cmdlet.

Outputs

System.Object

This cmdlet returns Service Fabric code package debug parameters.