Comments (5)
Hi @diasjorge, sorry for the lack of reply, I haven't had a lot of time lately.
I barely use byebug's remote debugging features, so I'm not sure why this is happening. @arthurnn or @FooBarWidget (who have contributed a lot to bring remote debugging support to byebug
) migth be able to help here...
from byebug.
You have to start the Byebug server in the after_hook, but you need to ensure that each Unicorn worker starts the server on a different port.
from byebug.
@FooBarWidget Thanks! :)
from byebug.
Thanks for your suggestions, I've tried and if I specify a port for each worker then it works, now the problem I have is when I make a request I don't know which unicorn worker is going to pick it up.
You can close this issue as this is not a problem of byebug but I can't figure out how to solve this. Any suggestions?
from byebug.
Yep, I'll close this.
I don't know how to solve your issue, @FooBarWidget any ideas?
Well, depending on what problem you're trying to debug, you may want to use a single worker just for debugging to make sure every request will be picked up by it.
from byebug.
Related Issues (20)
- byebug tends to get "stuck" in the debugger in Windows Terminal with tabs HOT 2
- Provide a way to exit the program without exiting the Rails Console
- Segmentation Fault in Ruby 3.0 Rspec HOT 5
- Only show program files in backtrace (excluding gems)
- [macOS][11.4] ERROR: Error installing byebug 11.1.3 HOT 3
- [macOS][12.0] ERROR: Error installing byebug 11.1.3 HOT 3
- Default port in byebug CLI
- Test failure with ruby 3.0.2 HOT 1
- Is it possible to make post_mortem the default behaviour?
- Byebug does not work when called in a background process group
- byebug-6 compile issue
- Exceptions when running `frame` or `backtrace` on a Sinatra application
- Arguments for `where`
- BuildError: ERROR: Failed to build gem native extension byebug 8.2.1 HOT 5
- cannot load such file -- irb (LoadError)
- Homebrew Formula error: No available formula with the name "formula". Did you mean foreman? Error: Broken pipe
- Build dependency on chandler, which is archived/unmaintained HOT 1
- Byebug error parses a comma in a string as an endinger for a line of code HOT 1
- Commands with no description HOT 2
- Byebug is not installing in mac m2 version 11.0.1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from byebug.