How to get interactive ruby with a debugger statement, when app running with Shopify CLI 3.0

I wish to pause in an interactive ruby shell with debugger (or binding.pry or byebug) when running an app with Shopify CLI 3.0

Running the app with npm run dev, creates two processes with Vite (frontend and backend) I see all the logs.

When I put a debugger in a ruby file, it does stop the execution at that point but I can’t interact with it as I’m seeing logs. I wish to interact at that point. How can this be achieved ?

Thank you!

@BullConvert Did you find any solution for the above problem? I am also struggling with the same.

Hi @BullConvert ,

While we don’t provide support for Shopify CLI in this forum the public [Shopify/cli GitHub repository issue board] may be a good place to post your question as well.

Hope you have a great day,
Jon551