# HOWTO active Write-DebugLog

**URL:** <https://forum.ansible.com/t/howto-active-write-debuglog/25100>\
**Category:** Ansible Developer\
**Created:** [July 26, 2017, 9:04pm UTC](https://forum.ansible.com/t/howto-active-write-debuglog/25100 "2017-07-26T21:04:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bob\_Tanner](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Post date:** [July 26, 2017, 9:04pm UTC](https://forum.ansible.com/t/howto-active-write-debuglog/25100/1 "2017-07-26T21:04:23Z")

</div>

Trying to debug a problem with Ansible module win\_updates and I see some very useful info being output via Write-DebugLog.

How do I activate this output?

`

# set this as a global for the Write-DebugLog function

$log\_path = $boundparms[‘log\_path’]

`

ansible-playbook -e ?

ansible -a?

Cannot seem to get either to work.

Thanks.
