Code Monkey home page Code Monkey logo

Comments (5)

deivid-rodriguez avatar deivid-rodriguez commented on August 20, 2024

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.

FooBarWidget avatar FooBarWidget commented on August 20, 2024

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.

deivid-rodriguez avatar deivid-rodriguez commented on August 20, 2024

@FooBarWidget Thanks! :)

from byebug.

diasjorge avatar diasjorge commented on August 20, 2024

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.

deivid-rodriguez avatar deivid-rodriguez commented on August 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.