Skip to content
This repository was archived by the owner on Feb 29, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,18 +303,32 @@ instead of the Cloud Debugger service. If the Firebase backend is
used, breakpoints can be viewed and set using the Snapshot Debugger CLI instead
of the Cloud Console.

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

```
-Dcom.google.cdbg.agent.use_firebase=True
```

or

```
-agentpath:/opt/cdbg/cdbg_java_agent.so=--use_firebase=true

```

Additional configuration can be provided if necessary:

```
-Dcom.google.cdbg.agent.use_firebase=True
-Dcom.google.cdbg.agent.firebase_db_url=https://my-database-url.firebaseio.com
```

or

```
-agentpath:/opt/cdbg/cdbg_java_agent.so=-use_firebase=true,--firebase_db_url=https://my-database-url.firebaseio.com
```

See https://github.com/GoogleCloudPlatform/snapshot-debugger and
https://cloud.google.com/debugger/docs/deprecations for more details.