ruby / vscode-rdbg

VSCode Ruby rdbg Debugger
MIT License
176 stars 50 forks source link

Support to attach multiple sockets #427

Open ikhsan opened 7 months ago

ikhsan commented 7 months ago

For https://github.com/ruby/vscode-rdbg/issues/372

Screenshot

When running a rails server with 4 processes

Before After
Screenshot 2024-02-03 at 22 29 51 Screenshot 2024-02-03 at 22 31 41
when set tofalse, it defaults to the picker selector when set to true, it attaches all as child processes
ono-max commented 6 months ago

@ikhsan

Thank you for your work! Sorry, I'm not familiar with multiple process debugging. Can you please give me the sample project to experiment the behavior?

ikhsan commented 6 months ago

@ono-max sure thing. I've created the demo app here: https://github.com/ikhsan/attach-multi-socket

Sorry, I'm not familiar with multiple process debugging.

The setup for multi process is here: https://github.com/ikhsan/attach-multi-socket/commit/7e65b1d57e27fa37d2c389a213886cb5824844a4. This is copied from our original app.

Steps

Let me know if the demo does or doesn't work 🙏

ikhsan commented 5 months ago

Thank you for your work! Sorry, I'm not familiar with multiple process debugging. Can you please give me the sample project to experiment the behavior?

Hey @ono-max 👋 just want to touch point with you on this. Did you have the chance to try debugging with the demo app?