Sometime I need to run an application from terminal for debugging. If I am sure the bug will occur short after launching the application, I can run this application from the Terminal.
However, bugs occur unexpectedly, and then only I need to monitor the buggy application from the Terminal (to see its output).
Can I then pick up an application from terminal, which was not launched using Terminal? If so how?