title: How to enable memory monitoring in Xdebug?
body: <p>I am trying to use Xdebug for my Drupal project debugging. In some documentations, I saw that the Xdebug is able to find memory leaks as well. I tried to use that facility. But I am not getting any logs regarding that.</p>
  
  <p>I configured my 20-xdebug.ini as follows</p>
  
  <pre><code>zend_extension=xdebug.so
  xdebug.remote_enable=1 
  xdebug.remote_host = 127.0.0.1
  xdebug.remote_enable = 1
  xdebug.remote_port = 9000
  xdebug.remote_handler = dbgp
  xdebug.remote_mode = req
  xdebug.profiler_enable=0
  xdebug.profiler_enable_trigger=1
  xdebug.profiler_output_dir = "/home/myname/Desktop/xdebug/"
  xdebug.trace_output_dir="/home/myname/Desktop/xdebug/"
  xdebug.remote_log="/home/myname/Desktop/xdebug/xdebug.log"
  xdebug.auto_trace=1
  xdebug.collect_params=1
  xdebug.trace_format=1
  xdebug.idekey=netbeans-xdebug
  xdebug.remote_autostart=1
  </code></pre>
  
  <p>I am able to connect NetBeans with Xdebug and I can go through each break points. But there are no logs regarding this in the <code>/tmp</code> folder and there are no log files in the above given paths as well.</p>
  
  <p><strong>Am I doing something wrong? Please assist me on this.</strong> </p>