title: Showing GTK debug log messages
body: <p>I'm sort of new to GTK+, and I'm starting my first project (a window manager). My question is this: I write a program that has a lot of debug messages, written as:</p>
  
  <pre><code>g_debug("foo");
  ...
  g_debug("bar");
  </code></pre>
  
  <p>I'm just wondering how to show them, because they don't show while running the application. I've tried to run the application like this:</p>
  
  <pre><code>./foobar --gtk-debug=all --gdk-debug=all
  </code></pre>
  
  <p>But the debug messages still don't show. I'm sure I'm missing something, but I can't seem to find the way (googled a lot before asking this, trust me).</p>
  
  <p>Thanks in advance!</p>