From 2122d1843ebee7dd3fe21a0b647cfd9e3750dfb7 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 28 Feb 2022 18:47:51 +0000 Subject: [PATCH] Restore asset debugging in development mode --- config/environments/development.rb | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.5