Skip to content
This repository was archived by the owner on Feb 29, 2024. It is now read-only.

Commit 1243e4e

Browse files
authored
docs: Add extra info on Firebase configuration (#73)
1 parent 0114871 commit 1243e4e

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,18 +303,32 @@ instead of the Cloud Debugger service. If the Firebase backend is
303303
used, breakpoints can be viewed and set using the Snapshot Debugger CLI instead
304304
of the Cloud Console.
305305

306-
To use the Firebase backend, set the following system properties:
306+
The Firebase backend functionality can be configured either via system
307+
properties or by passing flags directly to the agent:
307308

308309
```
309310
-Dcom.google.cdbg.agent.use_firebase=True
310311
```
311312

313+
or
314+
315+
```
316+
-agentpath:/opt/cdbg/cdbg_java_agent.so=--use_firebase=true
317+
318+
```
319+
312320
Additional configuration can be provided if necessary:
313321

314322
```
315323
-Dcom.google.cdbg.agent.use_firebase=True
316324
-Dcom.google.cdbg.agent.firebase_db_url=https://my-database-url.firebaseio.com
317325
```
318326

327+
or
328+
329+
```
330+
-agentpath:/opt/cdbg/cdbg_java_agent.so=-use_firebase=true,--firebase_db_url=https://my-database-url.firebaseio.com
331+
```
332+
319333
See https://github.com/GoogleCloudPlatform/snapshot-debugger and
320334
https://cloud.google.com/debugger/docs/deprecations for more details.

0 commit comments

Comments
 (0)