1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:04:59 +00:00

Meta: Allow setting a host IP address to bind to

This commit is contained in:
Tim Schumacher 2022-04-19 14:39:57 +02:00 committed by Andreas Kling
parent 1878488c04
commit ec6016fa2c
2 changed files with 7 additions and 3 deletions

View file

@ -45,7 +45,7 @@ fi
if command -v wslpath >/dev/null; then
gdb_host=$(powershell.exe "(Test-Connection -ComputerName (hostname) -Count 1).IPV4Address.IPAddressToString" | tr -d '\r\n')
else
gdb_host=localhost
gdb_host=${SERENITY_HOST_IP:-127.0.0.1}
fi