I'm creating a new app using Rails 5.
How can I debug using a Rails 5 app.
I mean my purpose is only to write on console when starting puma on development
environments.
I have set
config.logger = Logger.new(STDERR)
config.log_level = :debug
but logger.debug "app"
in my controllers seems not to be useful.
Has anyone try to write on server output with Rails 5 ?
Regards,
答案 0 :(得分:0)
我还没试过过rails 5,但这篇博文看起来好像可以帮到你: