# One-Click Attach

Within the PowerShell Pro Tools action panel, you can expand the Host Processes node to view processes that are running PowerShell on your machine. If you expand the processes you will see the runspaces that are currently allocated within that process. You can then click the Attach Runspace command to attach the debugger to the selected runspace.&#x20;

{% embed url="<https://youtu.be/mZo12kq-92c>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.poshtools.com/powershell-pro-tools-documentation/visual-studio-code/debugging/one-click-attach.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
