Add Emmy attach debugger support#51
Conversation
Yoctillion
commented
Apr 24, 2026
- Add attach debugger: inject emmy_hook.dll into running process by pid or name
- Add launch debugger: start executable with hook pre-loaded
- Extract EmmyDebugProcessBase from EmmyDebugProcess for shared protocol logic
- Fix prepareSandbox plugin directory prefix (was copying to wrong path)
- Fix EasyHook.dll missing from installDependencies (caused injection failure)
- Fix transport connecting to 127.0.0.1 instead of ::1
- Fix EmmyLuaAnalyzerAdaptor server path resolution
- Add attach debugger: inject emmy_hook.dll into running process by pid or name - Add launch debugger: start executable with hook pre-loaded - Extract EmmyDebugProcessBase from EmmyDebugProcess for shared protocol logic - Fix prepareSandbox plugin directory prefix (was copying to wrong path) - Fix EasyHook.dll missing from installDependencies (caused injection failure) - Fix transport connecting to 127.0.0.1 instead of ::1 - Fix EmmyLuaAnalyzerAdaptor server path resolution Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Have you referenced this project? https://github.com/EmmyLua/EmmyLua2-AttachDebugger |
|
This project depends on the old EmmyLua plugin and is not applicable to EmmyLua2. I referenced its implementation in this pull request. |
Actually, it is just emmylua2's attach debugger, but I haven't updated it. |
|
I support that it can be merged into the EmmyLua2 plugin, but some modifications are needed. First, we need to mark it as Windows only in a prominent place, and then you should show me the relevant UI and usage, and add documentation. |
|
OK, I will add these later |
Add os="windows" to configurationType, programRunner, and xdebugger.attachDebuggerProvider for both Emmy Attach and Emmy Launch debuggers so they are invisible on non-Windows platforms. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The launch debugger doesn't seem to be working properly. I will fix it together, or remove it |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add docs/attach-debugger.md with setup and usage guide - Add docs/attach-debugger.gif demo - Link from project README with Windows-only note Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
I've added |