GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — php-docs-samples/debugger at master · MaxxleLLC/php-docs-samples

Expand file tree

/

debugger

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

debugger

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
views
views
 
 
web
web
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 

README.md

Outline

Google Stackdriver Debugger PHP Sample Application

Description

This simple Silex application demonstrates how to install and run the Stackdriver Debugger Agent for PHP.

Build and Run

  1. Add the Stackdriver Debugger composer package to your composer.json:
    $ composer require google/cloud-debugger:^0.1
  1. Install the composer package:
    $ composer install
  1. Install the PHP extension from PECL:
    $ pecl install stackdriver_debugger-alpha
  1. Run the Stackdriver Debugger daemon:
    $ vendor/bin/google-cloud-debugger .
  1. Run the AsyncBatchDaemon daemon:
    $ vendor/bin/google-cloud-batch daemon
  1. Run the application:
    $ IS_BATCH_DAEMON_RUNNING=true php -S localhost:8000 -t web/
  1. Navigate to the Google Cloud Debugger console and Select Source Code
  2. Set a snapshot or set a logpoint.

See Setting Up Stackdriver Debugger for PHP for more information.

Contributing changes

  • See CONTRIBUTING.md

Licensing

  • See LICENSE
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.