Skip to content

Commit

Permalink
Specify the host IP as the default remote host for XDebug
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie Morris committed May 2, 2017
1 parent a44a41b commit dd60793
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions default.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ php_xdebug_remote_connect_back: 1
# Use PHPSTORM for PHPStorm, sublime.xdebug for Sublime Text.
php_xdebug_idekey: PHPSTORM
php_xdebug_max_nesting_level: 256
php_xdebug_remote_host: "{{ ansible_default_ipv4.gateway }}"

# Solr Configuration (if enabled above).
solr_version: "5.5.3"
Expand Down
5 changes: 0 additions & 5 deletions docs/extras/xdebug.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ To use XDebug with PHPStorm, change the `php_xdebug_idekey` variable as shown be
```yaml
php_xdebug_idekey: PHPSTORM
```
In order to pass the Web Server Debug Validation, you'll need to also add the following your `config.yml`

```yaml
php_xdebug_remote_host: "{{ vagrant_hostname }}"
```
### Sublime Text and XDebug with Drupal VM
Expand Down

0 comments on commit dd60793

Please sign in to comment.