Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How to use ruby-debug-ide with unicorn? How to use --attach-mode? #230

Open
isaiahshiner opened this issue Jun 30, 2022 · 0 comments

Comments

@isaiahshiner
Copy link

I'm running rails through unicorn, and it's not clear how to start the debugger when pointing to unicorn instead of rails. I assume --attach-mode can be used for this exact purpose, to start the rails and then attach to it later, but I can't find any information on how to do that, or really any user-focused documentation.

In some ways, this question is really just "where is the documentation?" After a lot of research, I am quite sure what I want to do is possible. RubyMine seems to do it automatically, it's just that VSCode users aren't typically trying to do this.

The relevant StackOverFlow question.

I am able to start using the very simple rdebug-ide -- ./bin/rails s, and then attach in VScode. It just isn't running my actual project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant