Update 6_server-start.sh

This commit is contained in:
bashermens
2026-01-10 22:16:47 +01:00
committed by GitHub
parent 8cf342bb3b
commit 2a07a24b1b

View File

@@ -77,15 +77,16 @@ if [[ $DEBUG_MODE -eq 1 ]]; then
# via GDB with RelWithDebInfo or Debug build
echo "DEBUG MODE: Running worldserver under GDB"
WORLD_CMD="gdb -ex \"set logging file $GDB_LOG\" \
-ex \"set logging enabled on\" \
-ex \"set pagination off\" \
-ex \"set confirm off\" \
-ex \"run -c $ROOT/_server/azerothcore/env/dist/etc/worldserver.conf\" \
-ex \"bt full\" \
-ex \"info threads\" \
-ex \"thread apply all bt full\" \
--args $ROOT/_server/azerothcore/env/dist/bin/worldserver"
WORLD_CMD="cd $ROOT/_server/azerothcore/env/dist/bin && \
gdb -ex \"set logging file $GDB_LOG\" \
-ex \"set logging enabled on\" \
-ex \"set pagination off\" \
-ex \"set confirm off\" \
-ex \"run -c ../etc/worldserver.conf\" \
-ex \"bt full\" \
-ex \"info threads\" \
-ex \"thread apply all bt full\" \
--args ./worldserver"
else
# via acore.sh for auto-restart