xfer
This commit is contained in:
parent
f9d8d1688f
commit
f47e977657
14
.vscode/launch.json
vendored
14
.vscode/launch.json
vendored
@ -21,20 +21,6 @@
|
||||
"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",
|
||||
"request": "attach",
|
||||
|
@ -2,4 +2,6 @@
|
||||
trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT
|
||||
killall lldb-server 2> /dev/null
|
||||
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
|
@ -3,7 +3,7 @@ SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
|
||||
SSHHOST=$1
|
||||
if [[ "$SSHHOST" == "" ]]; then
|
||||
SSHHOST="bootstrap-1.dev.veilid.net"
|
||||
SSHHOST="root@bootstrap-1.dev.veilid.net"
|
||||
fi
|
||||
|
||||
echo Copying debug script
|
||||
|
@ -22,7 +22,7 @@ else
|
||||
fi
|
||||
|
||||
# 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'
|
||||
else
|
||||
echo 'Android command line tools are not installed'
|
||||
|
Loading…
Reference in New Issue
Block a user