diff --git a/config/environments/development.rb b/config/environments/development.rb
index 076957f3057a06a4da723ec5df370a38d5f1f000..5b72c6b35f80b3700acb79a50d8c683dff520da3 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -37,6 +37,9 @@
   # Expands the lines which load the assets
   # config.assets.debug = true
 
+  # Annotate rendered view with template file names as HTML comments
+  config.action_view.annotate_rendered_view_with_filenames = true
+
   # Adds additional error checking when serving assets at runtime.
   # Checks for improperly declared sprockets dependencies.
   # Raises helpful error messages.
@@ -66,6 +69,7 @@
     config.active_record.migration_error = false
     config.active_record.verbose_query_logs = false
     config.action_view.cache_template_loading = true
+    config.action_view.annotate_rendered_view_with_filenames = false
 
     config.middleware.delete BetterErrors::Middleware
   end