Shared Library Debugging under El Capitan

In my day job, I do a lot of debugging of apps that use libraries in non-standard locations. This has traditionally been performed by exporting DYLD_LIBRARY_PATH in your environment and then debugging your app as normal. $ export DYLD_LIBRARY_PATH=/path/to/lib/dir $ lldb ./myapp (lldb) r myapp_arg1 myapp_arg2$ export DYLD_LIBRARY_PATH=/path/to/lib/dir $ lldb ./myapp (lldb) r myapp_arg1 myapp_arg2 […]