How do I debug a WINE win32 binary on GNU/Linux?

Self-explanatory. I haven’t found any guidelines on this. I want to debug a WINE process running natively on GNU/Linux system. Not the original Windows inside VirtualBox. Is this possible? How do I do that?

I haven’t tried it if it actually works, but maybe you can run win32_remote.exe or win64_remote64.exe under Wine, and use them to debug the application by conecting to Remote Windows debugger from IDA . Another option might be winedbg if it provides a GDB stub to which you can (hopefully) connect using IDA.