Skip to content

Latest commit

 

History

History
47 lines (26 loc) · 1.16 KB

README.md

File metadata and controls

47 lines (26 loc) · 1.16 KB

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