How to access Heroku app console by heroku CLI

Viewed 4769

I can check logs by heroku logs --app=my_app_name . I want to access app's console as shown in the picture. How can I access by heroku cli?

enter image description here

1 Answers

To access Heroku app bash by CLI:-

heroku login
heroku ps:exec --app=scoreboard-backend-dev

scoreboard-backend-dev is the app name

Related