mirror of
https://github.com/adelphes/android-dev-ext.git
synced 2025-12-25 10:58:42 +00:00
Add support for ADB server environment variables (#96)
* support ADB env vars for configuring the server connection * update startADBServer to use common adb socket params * use adbSocket config value to set adb host and port * make sure env var values are trimmed * pretty-print launch args and env vars * use adb socket host for JDWP connections * allow JDWP port to be fixed * include the command detail in adb command failures * configure adb socket and jdwp port parameters for attach configs * bump version 1.3.0
This commit is contained in:
@@ -49,9 +49,9 @@ The following settings are used to configure the debugger:
|
||||
// Fully qualified path to the built APK (Android Application Package).
|
||||
"apkFile": "${workspaceRoot}/app/build/outputs/apk/app-debug.apk",
|
||||
|
||||
// Port number to connect to the local ADB (Android Debug Bridge) instance.
|
||||
// Default: 5037
|
||||
"adbPort": 5037,
|
||||
// `host:port` configuration for connecting to the ADB (Android Debug Bridge) server instance.
|
||||
// Default: localhost:5037
|
||||
"adbSocket": "localhost:5037",
|
||||
|
||||
// Automatically launch 'adb start-server' if not already started.
|
||||
// Default: true
|
||||
|
||||
Reference in New Issue
Block a user