Open ikhsan opened 7 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?
@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.
$ bundle install
then $ bin/rails s
Let me know if the demo does or doesn't work 🙏
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?
For https://github.com/ruby/vscode-rdbg/issues/372
MultiSessionDebugAdapter
where it emits events with all socket pathsMultiSessionDebugAdapter
emits, which attach it as a child processsupportAttachMultiSockets
configScreenshot
When running a rails server with 4 processes
false
, it defaults to the picker selectortrue
, it attaches all as child processes