- Add the notes Samir emailed me on 2008-07-06.
[match/match.git] / program / debug
diff --git a/program/debug b/program/debug
new file mode 100755 (executable)
index 0000000..7742e85
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash
+# Let ghci see only the source so it loads the modules debuggably.
+mkdir -p debugdir
+(cd debugdir && ln -fs ../*.hs .)
+exec ghci -i -idebugdir Test "$@"