Ember in debug mode at production

AI-generated summary

Ember in Debug Mode at Production

User Steve_Ng is experiencing issues with Ember running in debug mode despite setting the environment to production. After running RAILS_ENV=production bundle exec rake assets:precompile and bundle exec unicorn -p 3000 -E production -c config/unicorn.conf.rb, the console still shows a debug message (DEBUG: For more advanced debugging, install the Ember Inspector...) inside vendor.js. Mittineague clarified that the Ember Inspector is a browser addon for debugging, but Steve_Ng pointed out that the message should not appear in production mode. sam requested that the issue be replicated on meta to further investigate.

I’ve run the following command before

  1. RAILS_ENV=production bundle exec rake assets:precompile
  2. bundle exec unicorn -p 3000 -E production -c config/unicorn.conf.rb

However when I go to the site, I saw this in the console:
DEBUG: For more advanced debugging, install the Ember Inspector from https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi inside vendor.js

How do i get ember to be in production mode?

The Ember Inspector is a browser addon to help with debugging. It is not part of Discourse and it is not something you need to run Discourse - though it can be useful if debugging is what you want to do

You saw nothing more than that “DEBUG” message in the console?

The thing is that it shouldn’t show me this message in console isn’t it? Since it is supposed to be in production mode

And yeah this is the only message I see in console.

.

I don’t see it in production can you make it happen on meta?