This commit is contained in:
John Smith 2023-03-04 16:32:50 -05:00
parent f9d8d1688f
commit f47e977657
4 changed files with 5 additions and 17 deletions

14
.vscode/launch.json vendored
View File

@ -21,20 +21,6 @@
"rust" "rust"
] ]
}, },
{
"type": "lldb",
"request": "launch",
"name": "Launch remote veilid-server",
"program": "${workspaceFolder}/target/debug/veilid-server",
"initCommands": [
"platform select remote-linux",
"platform connect connect://127.0.0.1:6969",
"settings set target.inherit-env false",
],
"sourceLanguages": [
"rust"
]
},
{ {
"type": "lldb", "type": "lldb",
"request": "attach", "request": "attach",

View File

@ -2,4 +2,6 @@
trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT
killall lldb-server 2> /dev/null killall lldb-server 2> /dev/null
echo Running lldb-server echo Running lldb-server
lldb-server platform --server --listen 127.0.0.1:6969 --gdbserver-port 6970 pushd /tmp > /dev/null
sudo -u veilid lldb-server platform --server --listen 127.0.0.1:6969 --gdbserver-port 6970
popd > /dev/null

View File

@ -3,7 +3,7 @@ SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
SSHHOST=$1 SSHHOST=$1
if [[ "$SSHHOST" == "" ]]; then if [[ "$SSHHOST" == "" ]]; then
SSHHOST="bootstrap-1.dev.veilid.net" SSHHOST="root@bootstrap-1.dev.veilid.net"
fi fi
echo Copying debug script echo Copying debug script

View File

@ -22,7 +22,7 @@ else
fi fi
# ensure Android Command Line Tools exist # ensure Android Command Line Tools exist
if [ -d "$ANDROID_SDK_ROOT/cmdline-tools/latest/bin" ]; then if [ -d "$ANDROID_SDK_ROOT/cmdline-tools" ]; then
echo '[X] Android command line tools are installed' echo '[X] Android command line tools are installed'
else else
echo 'Android command line tools are not installed' echo 'Android command line tools are not installed'