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

Commit d7b41f5

Browse files
authored
chore: release 3.0 (#37)
* Update README with section on firebase backend * Bump version number to 3.0
1 parent 2d2243d commit d7b41f5

File tree

2 files changed

+27
-12
lines changed

2 files changed

+27
-12
lines changed

README.md

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,6 @@ Note that the build script assumes some dependencies. To install these
6969
dependencies, 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
227219
https://storage.googleapis.com/cloud-debugger/compute-java/debian-wheezy/cdbg_java_agent_service_account.tar.gz
228220
or 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()`
300291
Companion object methods can be accessed by qualifying them with the `Companion`
301292
keyword. For instance, the `welcome` function above can be used in an expression
302293
as `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.

src/agent/internals/src/main/java/com/google/devtools/cdbg/debuglets/java/GcpDebugletVersion.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ public final class GcpDebugletVersion {
2121
* <p>All agents of the same major version are compatible with each other. In other words an
2222
* application can mix different agents with the same major version within the same debuggee.
2323
*/
24-
public static final int MAJOR_VERSION = 2;
24+
public static final int MAJOR_VERSION = 3;
2525

2626
/** Minor version of the agent. */
27-
public static final int MINOR_VERSION = 32;
27+
public static final int MINOR_VERSION = 0;
2828

2929
/** Debugger agent version string in the format of MAJOR.MINOR. */
3030
public static final String VERSION = String.format("%d.%d", MAJOR_VERSION, MINOR_VERSION);

0 commit comments

Comments
 (0)