summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun/dcpomatic2
1 files changed, 2 insertions, 0 deletions
diff --git a/run/dcpomatic b/run/dcpomatic
index 38de6a670..730b89d55 100755
--- a/run/dcpomatic
+++ b/run/dcpomatic
@@ -12,6 +12,8 @@ fi
export DYLD_LIBRARY_PATH=/Users/cah/osx-environment/$env/lib:/usr/local/lib
+# export ASAN_OPTIONS=verbosity=1:malloc_context_size=20:detect_leaks=1
+
if [ "$1" == "--debug" ]; then
shift
gdb --args $binary $*