UiPath Documentation
uipath-cli
latest
false

UiPath CLI user guide

Dernière mise à jour 7 mai 2026

uip rpa-legacy debug

uip rpa-legacy debug executes a XAML workflow locally via UiRobot. It streams logs in real time and returns structured output arguments on success, or error details on failure. Requires UiRobot installed on the local machine — by default the verb auto-detects UiRobot.exe; pass --robot-path to override.

Windows-only — see the overview warning.

Synopsis

uip rpa-legacy debug <xaml-path> [options]
uip rpa-legacy debug <xaml-path> [options]
  • <xaml-path> (required) — Path to the XAML workflow file to execute.

Options

DrapeauDescription
-i, --input <json>Input arguments as a JSON string.
--result-path <path>Write structured execution result (output args or error details) to a JSON file.
--timeout <seconds>Execution timeout in seconds (0 = no timeout).
--robot-path <path>Path to UiRobot.exe (auto-detected if not provided).

Exemples

# Run a workflow with no input
uip rpa-legacy debug ./MyProject/Main.xaml

# Pass input arguments inline and write the result to a file
uip rpa-legacy debug ./MyProject/Main.xaml \
    --input '{"invoicePath":"C:/data/inv.pdf"}' \
    --result-path ./run-result.json

# Use an explicit UiRobot path with a 5-minute timeout
uip rpa-legacy debug ./MyProject/Main.xaml \
    --robot-path "C:/Program Files/UiPath/Studio/UiRobot.exe" \
    --timeout 300
# Run a workflow with no input
uip rpa-legacy debug ./MyProject/Main.xaml

# Pass input arguments inline and write the result to a file
uip rpa-legacy debug ./MyProject/Main.xaml \
    --input '{"invoicePath":"C:/data/inv.pdf"}' \
    --result-path ./run-result.json

# Use an explicit UiRobot path with a 5-minute timeout
uip rpa-legacy debug ./MyProject/Main.xaml \
    --robot-path "C:/Program Files/UiPath/Studio/UiRobot.exe" \
    --timeout 300

Voir également

  • Synopsis
  • Options
  • Exemples
  • Related
  • Voir également

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour