From a48286c9c6dfee91a84ad7f2c03134b249ebde8d Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Mon, 15 Jul 2024 11:34:11 +0300 Subject: [PATCH] added use WINEDEBUG to args: --debug --- data_from_portwine/scripts/functions_helper | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index ffd397b2..b6eb0045 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -1726,7 +1726,9 @@ start_portwine () { check_variables VK_LOADER_DEBUG none check_variables VKBASALT_LOG_LEVEL none check_variables DXVK_NVAPI_LOG_LEVEL none - if [[ "${PW_LOG}" == 1 ]] ; then + if [[ "${PW_LOG}" == 1 ]] \ + || [[ ! -z "$$PW_DEBUG" ]] + then export WINEDEBUG="fixme-all,err+loaddll,err+dll,err+file,err+reg" export WINE_MONO_TRACE="E:System.NotImplementedException" export VKBASALT_LOG_LEVEL="error"