From: Tom Hughes Date: Mon, 28 Feb 2022 18:47:51 +0000 (+0000) Subject: Restore asset debugging in development mode X-Git-Tag: live~1733 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/2122d1843ebee7dd3fe21a0b647cfd9e3750dfb7 Restore asset debugging in development mode --- diff --git a/config/environments/development.rb b/config/environments/development.rb index 750a596b4..36a6f2820 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -56,6 +56,11 @@ Rails.application.configure do # Highlight code that triggered database queries in logs. config.active_record.verbose_query_logs = true unless Settings.status == "database_offline" + # Debug mode disables concatenation and preprocessing of assets. + # This option may cause significant delays in view rendering with a large + # number of complex assets. + config.assets.debug = true + # Suppress logger output for asset requests. config.assets.quiet = true