summaryrefslogtreecommitdiff
path: root/docs/users_guide/debugging.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/users_guide/debugging.rst')
-rw-r--r--docs/users_guide/debugging.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/users_guide/debugging.rst b/docs/users_guide/debugging.rst
index 9994ef9d6a..8191048b92 100644
--- a/docs/users_guide/debugging.rst
+++ b/docs/users_guide/debugging.rst
@@ -170,6 +170,12 @@ Dumping out compiler intermediate structures
dump foreign export stubs
+ .. ghc-flag:: -ddump-json
+
+ Dump error messages as JSON documents. This is intended to be consumed
+ by external tooling. A good way to use it is in conjunction with
+ :ghc-flag:`-ddump-to-file`.
+
.. ghc-flag:: -ddump-simpl-iterations
Show the output of each *iteration* of the simplifier (each run of