# IDA Win32 to Win32 Debugging

The IDA Win32 debugger allows remote debugging of Windows32 executables. This is especially suited to the safe analysis of unknown hostile code. Our remote debugger server must first be started on the target machine.

![start\_win32\_server](https://920252027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXnMt6HMopakRTMzxxSKh%2Fuploads%2Fgit-blob-01633285e76cefad8b6542324841a65344423248%2F04_start_win32_server.gif?alt=media)

we select attach to remote win32

![instant\_debugger\_menu](https://920252027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXnMt6HMopakRTMzxxSKh%2Fuploads%2Fgit-blob-a7d7f79f22e2d2db157e41352afcffd71be5c118%2F00_instant_debugger_menu.gif?alt=media)

and of course specify our password and the port we'll use for the session.

![config\_win32\_dbg](https://920252027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXnMt6HMopakRTMzxxSKh%2Fuploads%2Fgit-blob-c54aee5677597f3601997208bbdb0843f03fd238%2F03_config_win32_dbg.gif?alt=media)

the connection screen is indentical to the local one.

![connect\_to\_win32](https://920252027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXnMt6HMopakRTMzxxSKh%2Fuploads%2Fgit-blob-d63e260d8f54a54177f201ad0583b2ae6cac9d0f%2F05_connect_to_win32.gif?alt=media)

and we are now connected to a program running on the remote machine.

![attached\_to\_win32](https://920252027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXnMt6HMopakRTMzxxSKh%2Fuploads%2Fgit-blob-fa3a62981aff339b4dc3ce90671727887d163bcd%2F06_attached_to_win32.gif?alt=media)


---

# 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.hex-rays.com/archive/win32towin32.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.
