Skip to content

MaximeThoonsen/ansible-role-php-xdebug

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: PHP-XDebug

Installs PHP XDebug on Ubuntu Xenial (16.04).

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see vars/main.yml):

php_xdebug_remote_enable: "false"

Whether remote debugging is enabled.

php_xdebug_remote_connect_back: "false"

If this is set to true, Xdebug will respond to any request from any IP address; use only for local development on non-public installations!

php_xdebug_remote_host: localhost
php_xdebug_remote_port: "9000"

The host and port on which Xdebug will listen.

php_xdebug_remote_log: /tmp/xdebug.log

The location of the xdebug log (useful if you're having trouble connecting).

php_xdebug_idekey: XDEBUG

The IDE key to use in the URL when making Xdebug requests (e.g. http://example.local/?XDEBUG_SESSION_START=XDEBUG).

Example Playbook

- hosts: webservers
  roles:
    - xdebug

License

MIT

Author Information

This role was created in 2014 by Maxime Thoonsen. It was forked from Jeff Geerling's role

About

Ansible Role - PHP Xdebug debugger.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 81.9%
  • Makefile 18.1%