title: Why is Xdebug log empty?
body: <p>I am trying to setup xdebug so that I can debug php code on a remote server from PHP storm running on my local laptop. </p>
  
  <p>It's not working but I thought a good place to start fixing the problem would be to look at the xdebug log.</p>
  
  <p>Sadly, the xdebug log file remains empty.</p>
  
  <p>I am trying to test xdebug by running a .php file where the first line is phpinfo()</p>
  
  <p>The result of running the file gives me these lines relating to xdebug:</p>
  
  <pre><code>xdebug support =&gt; enabled
  xdebug.auto_trace =&gt; Off =&gt; Off
  xdebug.cli_color =&gt; 0 =&gt; 0
  xdebug.collect_assignments =&gt; Off =&gt; Off
  xdebug.collect_includes =&gt; On =&gt; On
  xdebug.collect_params =&gt; 0 =&gt; 0
  xdebug.collect_return =&gt; Off =&gt; Off
  xdebug.collect_vars =&gt; Off =&gt; Off
  xdebug.coverage_enable =&gt; On =&gt; On
  xdebug.default_enable =&gt; On =&gt; On
  xdebug.dump.COOKIE =&gt; no value =&gt; no value
  xdebug.dump.ENV =&gt; no value =&gt; no value
  xdebug.dump.FILES =&gt; no value =&gt; no value
  xdebug.dump.GET =&gt; no value =&gt; no value
  xdebug.dump.POST =&gt; no value =&gt; no value
  xdebug.dump.REQUEST =&gt; no value =&gt; no value
  xdebug.dump.SERVER =&gt; no value =&gt; no value
  xdebug.dump.SESSION =&gt; no value =&gt; no value
  xdebug.dump_globals =&gt; On =&gt; On
  xdebug.dump_once =&gt; On =&gt; On
  xdebug.dump_undefined =&gt; Off =&gt; Off
  xdebug.extended_info =&gt; On =&gt; On
  xdebug.file_link_format =&gt; no value =&gt; no value
  xdebug.idekey =&gt; PHPSTORM =&gt; PHPSTORM
  xdebug.max_nesting_level =&gt; 100 =&gt; 100
  xdebug.overload_var_dump =&gt; On =&gt; On
  xdebug.profiler_aggregate =&gt; Off =&gt; Off
  xdebug.profiler_append =&gt; Off =&gt; Off
  xdebug.profiler_enable =&gt; Off =&gt; Off
  xdebug.profiler_enable_trigger =&gt; Off =&gt; Off
  xdebug.profiler_output_dir =&gt; /tmp =&gt; /tmp
  xdebug.profiler_output_name =&gt; cachegrind.out.%p =&gt; cachegrind.out.%p
  xdebug.remote_autostart =&gt; Off =&gt; Off
  xdebug.remote_connect_back =&gt; Off =&gt; Off
  xdebug.remote_cookie_expire_time =&gt; 3600 =&gt; 3600
  xdebug.remote_enable =&gt; On =&gt; On
  xdebug.remote_handler =&gt; dbgp =&gt; dbgp
  xdebug.remote_host =&gt; 10.1.12.136 =&gt; 10.1.12.136
  xdebug.remote_log =&gt; /home/mfowler/xdebug.log =&gt; /home/mfowler/xdebug.log
  xdebug.remote_mode =&gt; req =&gt; req
  xdebug.remote_port =&gt; 9000 =&gt; 9000
  xdebug.scream =&gt; Off =&gt; Off
  xdebug.show_exception_trace =&gt; Off =&gt; Off
  xdebug.show_local_vars =&gt; Off =&gt; Off
  xdebug.show_mem_delta =&gt; Off =&gt; Off
  xdebug.trace_enable_trigger =&gt; Off =&gt; Off
  xdebug.trace_format =&gt; 0 =&gt; 0
  xdebug.trace_options =&gt; 0 =&gt; 0
  xdebug.trace_output_dir =&gt; /tmp =&gt; /tmp
  xdebug.trace_output_name =&gt; trace.%c =&gt; trace.%c
  xdebug.var_display_max_children =&gt; 128 =&gt; 128
  xdebug.var_display_max_data =&gt; 512 =&gt; 512
  xdebug.var_display_max_depth =&gt; 3 =&gt; 3
  _SERVER["PHP_SELF"] =&gt; xdebug_test.php
  _SERVER["SCRIPT_NAME"] =&gt; xdebug_test.php
  _SERVER["SCRIPT_FILENAME"] =&gt; xdebug_test.php
  _SERVER["PATH_TRANSLATED"] =&gt; xdebug_test.php
  </code></pre>
  
  <p>However /home/mfowler/xdebug.log has nothing in it.</p>
  
  <p>All help appreciated!</p>