Skip to content

Files

java-agent

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 7, 2020
Sep 27, 2019
Dec 5, 2019
Mar 12, 2025
Oct 13, 2018
Jan 7, 2020
Jan 7, 2020
Mar 12, 2025
Jan 7, 2020

This SparkJava-based example builds a container image that includes the Stackdriver Debugger Java Agent. This project assumes the resulting image will be run inside Google Cloud Platform.

To build the image:

  1. Replace REPLACE-WITH-YOUR-GCP-PROJECT with your GCP project in pom.xml or build.gradle.

  2. Run mvn package or ./gradlew to build the image.

SparkJava listens on port 4567 by default.

Build and run on Google Cloud

Run on Google Cloud