How to verify whether background geolocation is working on not

Im using this plugin
cordova-plugin-mauron85-background-geolocation

But i dont know how to check whether it is working , like how to check in real time , when i move to different locations how to know it is watching the position .

const config: BackgroundGeolocationConfig = {
            desiredAccuracy: 10,
            stationaryRadius: 20,
            distanceFilter: 30,
            debug: false, 
            stopOnTerminate: false, 
    };

this.backgroundGeolocation.configure(config)
  .subscribe((location: BackgroundGeolocationResponse) => {

    console.log(location);

  });
this.backgroundGeolocation.start();

if you check geolocation in background,First we should run application in emulator.Then you go to url and search Chrome inspect.
Then What is run in the application we will watch background process.

You are missing “Interval” in your config.

So your code should be:

const config: BackgroundGeolocationConfig = {
            desiredAccuracy: 10,
            stationaryRadius: 20,
            distanceFilter: 30,
            interval: 2000, // equals to 2 seconds. 
            debug: false, 
            stopOnTerminate: false, 
    };

this.backgroundGeolocation.configure(config)
  .subscribe((location: BackgroundGeolocationResponse) => {

    Run your HTTP call here to send the GPS location.
    console.log(location);

  });
this.backgroundGeolocation.start();

Make sure you test this on plugged-in phone or an emulator.
Once you have this running, you can go to chrome://inspect/#devices and click inspect.

You will have all the running logs and network logs there.