gecko-dev/mobile
Nick Alexander 13610b62ba Bug 1522318 - Wait for Java debugger when MOZ_DEBUG_{CHILD_}WAIT_FOR_JAVA_DEBUGGER. r=esawin
Set `MOZ_DEBUG_WAIT_FOR_JAVA_DEBUGGER=1` in the environment to make the
main (Gecko) process wait for a Java debugger to connect.  This is a
superset of Android Studio's built-in debugging support so it won't be
particularly useful, but perhaps some folks want to use a different
jdwp debugger.

Set `MOZ_DEBUG_CHILD_WAIT_FOR_JAVA_DEBUGGER=suffix` in the environment
to make child processes wait for a Java debugger to connect.  This is
not easy in Android Studio.

The value ":tab" will make any child process with a process name with
suffix ":tab" wait.  N.b., the empty string "" is a suffix of all
process names and thus `MOZ_DEBUG_CHILD_WAIT_FOR_JAVA_DEBUGGER=` makes
all child processes wait.

Differential Revision: https://phabricator.services.mozilla.com/D25299

--HG--
extra : moz-landing-system : lando
2019-04-03 16:51:09 +00:00
..
android Bug 1522318 - Wait for Java debugger when MOZ_DEBUG_{CHILD_}WAIT_FOR_JAVA_DEBUGGER. r=esawin 2019-04-03 16:51:09 +00:00
locales no bug - Bumping Fennec l10n changesets r=release a=l10n-bump DONTBUILD 2019-03-29 22:00:30 +00:00