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
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.
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.The text was updated successfully, but these errors were encountered: