export prettyPrint for pretty stack traces.