# Debug ucs\_client.sh

**URL:** <https://forum.universal-credit-system.org/t/debug-ucs-client-sh/52>\
**Category:** Troubleshooting\
**Created:** [April 24, 2021, 10:18am UTC](https://forum.universal-credit-system.org/t/debug-ucs-client-sh/52 "2021-04-24T10:18:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![m0e](https://forum.universal-credit-system.org/user_avatar/forum.universal-credit-system.org/m0e/32/74_2.png) [@m0e](https://forum.universal-credit-system.org/u/m0e)\
**Post date:** [April 24, 2021, 10:18am UTC](https://forum.universal-credit-system.org/t/debug-ucs-client-sh/52/1 "2021-04-24T10:18:38Z")

</div>

**Debugging ucs\_client.sh**

We have added parameter `-debug` to ucs\_client.sh so that you can easily debug it!

```
./ucs_client.sh -debug

```

you can simply reroute the debug output with `2>` to a file:

```
./ucs_client.sh -debug 2>file.log

```

**This works in GUI-mode and CMD-mode**
