1. Sitecore.CH.Cli.Plugin.Scripting.Commands

Class DebugCommand

Debugs a script.

Inheritance

object

System.CommandLine.Symbol

System.CommandLine.IdentifierSymbol

Command

Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommand

Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommandSitecore.CH.Cli.Plugin.Scripting.CommandHandlers.DebugCommandHandler

DebugCommand

Namespace: SitecoreSitecore.CHSitecore.CH.CliSitecore.CH.Cli.PluginSitecore.CH.Cli.Plugin.ScriptingCommands

Assembly: Sitecore.CH.Cli.Plugin.Scripting.dll

Syntax

public class DebugCommand : BaseCommand<DebugCommandHandler>

Remarks

Required parameters

  • --name -n Specified the name of the script to debug.

Optional parameters

  • --endpoint -e Specifies an alternative endpoint name for the execution of this command.
  • --folder -f Specifies the working directory that contains the script files. If the --folder option is not specified, the current folder is assumed to be the working directory.

Global parameters

  • -? --help -h Show this help message and exit.
  • -v --verbosity Enables verbose logging.

Examples

Debugs a script:

ch-cli scripting debug --name "<*>"
If you have suggestions for improving this article, let us know!