Process ID for the Web Application:
While debugging SharePoint application mainly SharePoint Workflow you will need to find the Process ID of the Web Application you are trying to Debug. If each of the web application runs in same user account its tough to find the same.
Run the below command that will list all the Application Pool and Its Process ID
Run To access STSADM from any directory in command Prompt:
Add the 12Hive\Bin path to the Windows Environment PATH Variable.