Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
add docs on debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyc committed Dec 29, 2018
1 parent 7ea49b9 commit 2089f7a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/other/debug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
To debug the provisioning step Drupal VM can run the `ansible-playbook` command in verbose mode if you set the `DRUPALVM_DEBUG` environment variable.

```sh
# verbose mode: ansible-playbook -v
DRUPALVM_DEBUG=1 vagrant provision
DRUPALVM_DEBUG=v vagrant provision

# for even more messages: ansible-playbook -vvv
DRUPALVM_DEBUG=vvv vagrant provision

# for debug mode: ansible-playbook -vvvv
DRUPALVM_DEBUG=vvvv vagrant provision
```

In addition to running in verbose mode this also enables deprecation warnings.

For debugging information related to Vagrant see [documentation](https://www.vagrantup.com/docs/other/debugging.html).
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ pages:
- 'Passing on CLI arguments to ansible': 'extending/ansible-args.md'
- 'Pre- and Post-Provision Scripts': 'extending/scripts.md'
- Other Information:
- 'Debug mode': 'other/debug.md'
- 'Networking Notes': 'other/networking.md'
- 'Vagrant LXC provider': 'other/vagrant-lxc.md'
- 'Improving Performance': 'other/performance.md'
Expand Down

0 comments on commit 2089f7a

Please sign in to comment.