# debug module: possible pull request

**URL:** <https://forum.ansible.com/t/debug-module-possible-pull-request/14768>\
**Category:** Ansible Project\
**Created:** [March 13, 2014, 9:22pm UTC](https://forum.ansible.com/t/debug-module-possible-pull-request/14768 "2014-03-13T21:22:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erik\_Anderson](https://avatars.discourse-cdn.com/v4/letter/e/71c47a/32.png) [@Erik\_Anderson](https://forum.ansible.com/u/Erik_Anderson)\
**Post date:** [March 13, 2014, 9:22pm UTC](https://forum.ansible.com/t/debug-module-possible-pull-request/14768/1 "2014-03-13T21:22:07Z")

</div>

As currently implemented, if, in a moment of confusion, you pass in a variable directly instead of var=foo or msg=foo, the debug module’s output is less than helpful.

For instance, if I run this against a host:

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [March 13, 2014, 9:24pm UTC](https://forum.ansible.com/t/debug-module-possible-pull-request/14768/2 "2014-03-13T21:24:14Z")

</div>

It’s the way it’s not very good.

Basically “Hello World” is the default “msg”.

I would almost think that if there was no “=” in the line and the value was not a hash you could assume it was doing msg=“” maybe?
