@@ -69,14 +69,6 @@ Note that the build script assumes some dependencies. To install these
6969dependencies, run this command:
7070
7171
72- ** On Debian 8:**
73-
74- ``` shell
75- sudo apt-get -y -q --no-install-recommends install \
76- curl gcc build-essential libssl-dev unzip openjdk-7-jdk \
77- cmake python maven
78- ```
79-
8072** On Debian 9:**
8173
8274``` shell
@@ -227,9 +219,8 @@ supports it. Either download the pre-packaged agent from
227219https://storage.googleapis.com/cloud-debugger/compute-java/debian-wheezy/cdbg_java_agent_service_account.tar.gz
228220or the locally built ` cdbg_java_agent_service_account.tar.gz `
229221
230- To use the service account credentials add these system properties :
222+ To use the service account credentials add this system property :
231223<pre >
232- -Dcom.google.cdbg.auth.serviceaccount.enable=<i >true</i >
233224-Dcom.google.cdbg.auth.serviceaccount.jsonfile=<i >/opt/cdbg/gcp-svc.json</i >
234225</pre >
235226
@@ -300,3 +291,27 @@ used in an expression as `MainKt.getGreeting()`
300291Companion object methods can be accessed by qualifying them with the ` Companion `
301292keyword. For instance, the ` welcome ` function above can be used in an expression
302293as ` Main.Companion.welcome() `
294+
295+ ### Experimental Firebase Realtime Database Backend
296+
297+ This functionality is available for release 3.0 onward of this agent.
298+
299+ The agent can be configured to use Firebase Realtime Database as a backend
300+ instead of the deprecated Cloud Debugger service. If the Firebase backend is
301+ used, breakpoints can be viewed and set using the Snapshot Debugger CLI instead
302+ of the Cloud Console.
303+
304+ To use the Firebase backend, set the following system properties:
305+
306+ ```
307+ -Dcom.google.cdbg.agent.use_firebase=True
308+ ```
309+
310+ Additional configuration can be provided if necessary:
311+
312+ ```
313+ -Dcom.google.cdbg.agent.use_firebase=True
314+ -Dcom.google.cdbg.agent.firebase_db_url=https://my-database-url.firebaseio.com
315+ ```
316+
317+ See https://github.com/GoogleCloudPlatform/snapshot-debugger for more details.
0 commit comments