diff options
author | Tim Schumacher <timschumi@gmx.de> | 2022-04-19 14:39:57 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-04-20 14:12:34 +0200 |
commit | ec6016fa2c4751f8657aa328a5889bd0ee3b83df (patch) | |
tree | 1c0f9e03384b4a459a4ef97fd780691040cd13e7 /Meta/debug-kernel.sh | |
parent | 1878488c0436bd2fc18b8abbc71b150408b9edfa (diff) | |
download | serenity-ec6016fa2c4751f8657aa328a5889bd0ee3b83df.zip |
Meta: Allow setting a host IP address to bind to
Diffstat (limited to 'Meta/debug-kernel.sh')
-rwxr-xr-x | Meta/debug-kernel.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/debug-kernel.sh b/Meta/debug-kernel.sh index b700ccf940..897a6feec0 100755 --- a/Meta/debug-kernel.sh +++ b/Meta/debug-kernel.sh @@ -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 |