# Diagnose Launcher

You may find there is an issue with the launcher. Examples include:

- application starting but exiting right away
- application starts and gives an error dialog
- application does not start

The first step to diagnose this is to find the debugging output. The simplest way is:

1. on Start menu, find the application. 'Open File Location'
2. Right-click on the icon, select 'Properties'
3. Open a 'cmd' window (start menu, 'cmd')
4. run cd "DIR" where dir is the 'Start In" field. Use double-quotes.
5. Run the program, appending --debug to the end of the string

These steps are shown below.

![Agilicus Zero Trust Launcher Diagnostic Screen: Troubleshooting connection issues with the Agilicus platform. The diagnostic tool checks network connectivity, DNS resolution, and access to necessary services. Use this to diagnose problems with the Agilicus Launcher.](https://www.agilicus.com/www/6ce417dd-image-1024x640.png)    ![Agilicus Zero Trust Launcher Troubleshooting: Diagnose common issues with the Agilicus Zero Trust Launcher using the diagnostic tool. This tool helps identify problems such as connectivity errors, incorrect configurations, and service disruptions, ensuring seamless and secure access to your applications.](https://www.agilicus.com/www/ab823232-image-1024x640.png)    ![Agilicus Diagnose Launcher: Troubleshooting and identifying issues with the Agilicus platform. The launcher displays diagnostic information to help users resolve problems. The image shows the Agilicus Diagnose Launcher interface.](https://www.agilicus.com/www/968c62dd-2025-05-13_11-42-1024x422.png)    The output will look similar to below.

```
C:\Users\don\AppData\Local\Agilicus\Agent>C:\Users\don\AppData\Local\Agilicus\Agent\agilicus-agent.exe proxify --cfg-file C:\Users\don\AppData\Local\Agilicus\Agent\agent.conf.enc.yaml --resource-id Rg4QS6T8LnWX7QYdrmwFP2 --org-id Hsrk2MYRznWufRJQeaysDC --debugtime="2025-05-13T11:45:15-04:00" level=info msg="Starting proxify - version v0.298.2"time="2025-05-13T11:45:15-04:00" level=debug msg="checking if should migrate install path"time="2025-05-13T11:45:18-04:00" level=debug msg="checking stat file C:\Users\don\AppData\Local\Agilicus\Agent\agilicusLastUpdate"time="2025-05-13T11:45:18-04:00" level=debug msg="file C:\Users\don\AppData\Local\Agilicus\Agent\agilicusLastUpdate updated"time="2025-05-13T11:45:18-04:00" level=debug msg="checking C:\Users\don\AppData\Local\Agilicus\Agent\agilicusUpgradeLastRun"time="2025-05-13T11:45:19-04:00" level=debug msg="upgrade threshold time not met"time="2025-05-13T11:45:19-04:00" level=debug msg="Launching resource Rg4QS6T8LnWX7QYdrmwFP2 for orgID Hsrk2MYRznWufRJQeaysDC"time="2025-05-13T11:45:19-04:00" level=debug msg="checking stat file C:\Users\don\AppData\Local\Agilicus\Agent\agilicusLastRefresh"time="2025-05-13T11:45:19-04:00" level=debug msg="the cache file is: C:\Users\don\AppData\Local\cache\agilicus\resource_info.json"time="2025-05-13T11:45:19-04:00" level=debug msg="using user resource access info from cache for Rg4QS6T8LnWX7QYdrmwFP2"time="2025-05-13T11:45:19-04:00" level=debug msg="storing cache in directory: C:\Users\don\AppData\Local\cache\agilicus\tunnel-info"time="2025-05-13T11:45:19-04:00" level=debug msg="Setting SSL_CERT_FILE=C:\Users\don\AppData\Local\Agilicus\Agent\4274-proxify.crt"time="2025-05-13T11:45:19-04:00" level=info msg="Adding C:\Users\don\AppData\Local\Agilicus\Agent\4274-proxify.crt to default cert pool"time="2025-05-13T11:45:19-04:00" level=debug msg="Listen on port 55031"time="2025-05-13T11:45:19-04:00" level=debug msg="Setting proxy env vars to: http://localhost:55031"time="2025-05-13T11:45:19-04:00" level=debug msg="Setting _JAVA_OPTIONS var to: -Dhttp.proxyHost=localhost -Dhttp.proxyPort=55031 -Dhttps.proxyHost=localhost -Dhttps.proxyPort=55031"time="2025-05-13T11:45:19-04:00" level=debug msg="storing cache in directory: C:\Users\don\AppData\Local\cache\agilicus\tunnel-info"time="2025-05-13T11:45:19-04:00" level=debug msg="exec (waitDescendants: true, workingDir: ): c:\windows\system32\notepad.exe"
```

d