aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin/debug.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/debug.rhtml')
-rw-r--r--app/views/admin/debug.rhtml18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/views/admin/debug.rhtml b/app/views/admin/debug.rhtml
new file mode 100644
index 000000000..8a3fcc895
--- /dev/null
+++ b/app/views/admin/debug.rhtml
@@ -0,0 +1,18 @@
+<% @title = "Debug" %>
+
+<h1><%=@title%></h1>
+
+<h2>Environment variables</h2>
+<pre>
+<%= @request_env.to_yaml %>
+</pre>
+
+<h2>Parameters</h2>
+<pre>
+<%= params.to_yaml %>
+</pre>
+
+<h2>Session</h2>
+<pre>
+<%= session.to_yaml %>
+</pre>