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

Commit 2089f7a

Browse files
committed
add docs on debug mode
1 parent 7ea49b9 commit 2089f7a

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

docs/other/debug.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
To debug the provisioning step Drupal VM can run the `ansible-playbook` command in verbose mode if you set the `DRUPALVM_DEBUG` environment variable.
2+
3+
```sh
4+
# verbose mode: ansible-playbook -v
5+
DRUPALVM_DEBUG=1 vagrant provision
6+
DRUPALVM_DEBUG=v vagrant provision
7+
8+
# for even more messages: ansible-playbook -vvv
9+
DRUPALVM_DEBUG=vvv vagrant provision
10+
11+
# for debug mode: ansible-playbook -vvvv
12+
DRUPALVM_DEBUG=vvvv vagrant provision
13+
```
14+
15+
In addition to running in verbose mode this also enables deprecation warnings.
16+
17+
For debugging information related to Vagrant see [documentation](https://www.vagrantup.com/docs/other/debugging.html).

mkdocs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ pages:
6363
- 'Passing on CLI arguments to ansible': 'extending/ansible-args.md'
6464
- 'Pre- and Post-Provision Scripts': 'extending/scripts.md'
6565
- Other Information:
66+
- 'Debug mode': 'other/debug.md'
6667
- 'Networking Notes': 'other/networking.md'
6768
- 'Vagrant LXC provider': 'other/vagrant-lxc.md'
6869
- 'Improving Performance': 'other/performance.md'

0 commit comments

Comments
 (0)