uipath-cli
latest
false
UiPath CLI user guide
- Overview
- Get started
- Concepts
- Using UiPath CLI
- How-to guides
- CI/CD recipes
- Command reference
- Overview
- Exit codes
- Global options
- uip codedagent
- uip coder
- uip context-grounding
- uip docsai
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip maestro authoring
- uip maestro registry
- uip model-hub
- activities find
- activities get-default-xaml
- analyze
- analyzer-rules list
- build
- cleanup
- data-fabric-entities install
- data-fabric-entities list
- files diff
- get-library-object-repository
- get-object-repository
- init
- instances list
- pack
- packages inspect
- packages install
- packages versions
- publish
- remote
- restore
- run, debug & execution
- settings
- studio start
- templates search
- test-data add-entity
- test-data add-queue
- test-data add-variation
- tm
- uia
- validate
- workflow-examples get
- workflow-examples list
- uip tasks
- uip traces
- uip traces feedback
- Migration
- Reference & support
uip rpa-legacy debug
Syntax and options for `uip rpa-legacy debug`, which executes a XAML workflow locally via UiRobot with real-time log streaming.
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
| Flag | Description |
|---|---|
-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). |
Examples
# 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
Related
uip rpa-legacy validate— validate before debugging to catch compile errors first.uip rpa-legacy pack— pack the project once it runs cleanly.uip rpa runanduip rpa debug— cross-platform workflow runner; prefer it for non-legacy projects.uip rpa-legacy— tool overview.