Relative Content

Tag Archive for ruby-on-railsherokuremote-debuggingvscode-debuggerheroku-cli

How to debug Ruby on Rails in Heroku Staging with VSCode

We’ve set up a Heroku Ruby on Rails API app and used the Pipeline feature to create a Production and Staging copy of the app. We develop on a Linux VM with VSCode Remote from Windows PCs and push code via Git to Heroku. But sometimes code/settings that work on localhost on Dev don’t work quite the same on Heroku, and sometimes that requires using the debugger on Heroku. We found examples on Heroku’s website and others on how to do this for Node.js and Java apps, but nothing other than upping the LOG_LEVEL environment variable to DEBUG seemed to be available for Ruby on Rails.