You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
Feature request: Debug multiple Ruby processes at once #126
Let me know if you are still interested in contributing to it :) Previously this project is kind of dead as I'm busy with other stuff but now I'll spend time on it every week if possible.
I've made some attempt to start this - see my open pull request that let's you manually assign ports. But I'm struggling to get the tests to pass - it seems like it's not related to my code - so if you could help with that, that'd be awesome! :)
PR #148 fixes an issue I encountered after my original PR that added this feature. It is merged into master, it's just a matter of when @rebornix decides to trigger a new release.
Hi @benglewis I am trying to debug an application with two processes (a server and a worker). I am using the following launch.json file (as explained in the link @rebornix gave in #126 (comment))
Activity
brunocechet commentedon Mar 23, 2017
+1
rebornix commentedon Apr 17, 2017
@ukblewis thanks for your feedback and this is a valid feature request. I'll say it is not too difficult to implement :) It consists of two parts
Let me know if you are still interested in contributing to it :) Previously this project is kind of dead as I'm busy with other stuff but now I'll spend time on it every week if possible.
benglewis commentedon Apr 17, 2017
Hi @rebornix ,
I've made some attempt to start this - see my open pull request that let's you manually assign ports. But I'm struggling to get the tests to pass - it seems like it's not related to my code - so if you could help with that, that'd be awesome! :)
Thank you!
rebornix commentedon Apr 17, 2017
@ukblewis I left comments in your PR and they are real easy fix :) It looks good to me, I'll merge it once you update.
benglewis commentedon Apr 20, 2017
Thank you @rebornix :) Super excited to try this out!
mlavandero commentedon Jul 13, 2017
Where's the PR? On what version will this be out?
benglewis commentedon Jul 13, 2017
PR #148 fixes an issue I encountered after my original PR that added this feature. It is merged into master, it's just a matter of when @rebornix decides to trigger a new release.
senhalil commentedon Mar 4, 2019
Hi @benglewis I am trying to debug an application with two processes (a server and a worker). I am using the following
launch.jsonfile (as explained in the link @rebornix gave in #126 (comment))However, I get the following error (either in Server side or Worker side) when I run the Server/Workers compound config:
Fatal exception in DebugThread loop: Address already in use - bind(2) for "127.0.0.1" port 1234Do I do something incorrectly?
quintinm-dev commentedon Jun 6, 2020
@senhalil were you able to figure this out? Also getting the same issue.
senhalil commentedon Jun 8, 2020
@qmuncaster nope. Shortly after my message, I stopped trying to use vscode for debugging and started using
byebugfwolff commentedon Jun 18, 2020
@senhalil, @qmuncaster: you can configure two distinct "debuggerPort"s.
Here is a working
launch.json(provided you started a Redis server first for Sidekiq):