# Debug app in terminal after uploading from legato to device

**URL:** <https://forum.legato.io/t/debug-app-in-terminal-after-uploading-from-legato-to-device/6231>\
**Category:** Legato Linux distribution (Yocto project)\
**Created:** [June 17, 2022, 10:08am UTC](https://forum.legato.io/t/debug-app-in-terminal-after-uploading-from-legato-to-device/6231 "2022-06-17T10:08:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![krishna.j](https://avatars.discourse-cdn.com/v4/letter/k/2bfe46/32.png) [@krishna.j](https://forum.legato.io/u/krishna.j)\
**Post date:** [June 17, 2022, 10:08am UTC](https://forum.legato.io/t/debug-app-in-terminal-after-uploading-from-legato-to-device/6231/1 "2022-06-17T10:08:37Z")

</div>

hi there ,

i’ve loaded my apps on the device using legato\_vscode after that in the terminal if i am checking the app status i am able to see all the apps which has been loaded on the device  
for ex: modemService is the app  
and i wanted to know few things  
1.if sms is one of the functionality of my modem then is it a process under the app modemService  
2.if iam running a process in the app using the command runProc [options] then it it is throwing error Invalid Arguments

can you guys please help me run the processes in the app and how to use it ,  
after knowing the apps what are the next steps to be followed and the above problem which ive been facing .

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [June 17, 2022, 10:35am UTC](https://forum.legato.io/t/debug-app-in-terminal-after-uploading-from-legato-to-device/6231/2 "2022-06-17T10:35:06Z")

</div>

for question 1, you can see here:

> <https://github.com/legatoproject/legato-af/blob/master/apps/sample/smsApp/smsApp.adef>

It is using modem service.

for question 2, you can take the modemDemo application as example on how to use “app runProc”:

> [@”smsC hat.txt” was not created after app runProc modemDemo1 send --exe = send – 1234567“ Sim”](https://forum.legato.io/t/smsc-hat-txt-was-not-created-after-app-runproc-modemdemo1-send-exe-send-1234567-sim/5960/5):
>
> Hi Jyijyi, We installed fx30-catm\_3.0.0 and retested. Unfortunately, ”smsC hat.txt” was not created. [20210913\_log.txt](https://forum.legato.io/uploads/short-url/8rmf3EnsA4jFE5oEzAc11ecihmQ.txt) (3.4 KB) Could you provide success sequence log in your environment? Thank you.
