Show extended stacktraces conditional on _DX_DEBUG=2 only
Show extended stacktraces conditional on any truthy _DX_DEBUG
Fix race condition in test (need to wait for state runnable)