Remote Debugging using XSCT

Below is an example XSCT session that demonstrates debugging a remote application using XSCT
connect -path [list tcp::1534 tcp:xhdbfarmn3:3121]
source /proj/xbuilds/2018.3_continuous_latest/installs/lin64/SDK/2018.3/scripts/sdk/util/zynqmp_utils.tcl
targets -set -nocase -filter {name =~"APU*" && jtag_cable_name =~ "Digilent JTAG-SMT2NC 210308A469E7"} -index 1
loadhw -hw /tmp/test_nag1/zcu102_1/export/zcu102_1/hw/zcu102.dsa -mem-ranges [list {0x80000000 0xbfffffff} {0x400000000 0x5ffffffff} {0x1000000000 0x7fffffffff}]
configparams force-mem-access 1
targets -set -nocase -filter {name =~"APU*" && jtag_cable_name =~ "Digilent JTAG-SMT2NC 210308A469E7"} -index 1
source /tmp/test_nag1/a53_app/_sdx/psinit/psu_init.tcl
psu_init
catch {psu_protection}
targets -set -nocase -filter {name =~"*A53*0" && jtag_cable_name =~ "Digilent JTAG-SMT2NC 210308A469E7"} -index 1
rst -processor
dow /tmp/test_nag1/a53_app/Debug/a53_app.elf
configparams force-mem-access 0