diff --git a/roles/aurweb/templates/config.j2 b/roles/aurweb/templates/config.j2
index 06456f86fe9f0c7dc191535022e785ac4c2445c3..427f8c069f691e69e913b3a5dd64b2e15d81f09d 100644
--- a/roles/aurweb/templates/config.j2
+++ b/roles/aurweb/templates/config.j2
@@ -18,6 +18,10 @@ aur_location = https://{{ aurweb_domain }}
 git_clone_uri_anon = https://{{ aurweb_domain }}/%s.git
 git_clone_uri_priv = ssh://{{ aurweb_user }}@{{ aurweb_domain }}/%s.git
 redis_address = redis://localhost
+{% if aurweb_environment_type == "dev" %}
+; Toggles traceback display in templates/errors/500.html.
+traceback = 1
+{% endif %}
 
 [ratelimit]
 request_limit = {{ aurweb_request_limt }}