title: Symfony and xDebug View Variables
body: <p>This will probably be a quick answer for somebody, but I haven't been able to find the answer.</p>
  
  <p>I'm using xDebug with a Symfony application, and I find it quite annoying that xDebug cannot report my view variables to my variable view in eclipse.</p>
  
  <p>I figured the solution would be to declare these variables as public in the scope of the component (/action), however when I declare my view variables there, they are no longer available in my Symfony view/partial.</p>
  
  <p>Has anybody run into this same annoyance and found a solution?</p>
  
  <p><strong>Edit</strong></p>
  
  <p>I did some further investigation and found that <em>sfComponent</em> implements a __set() so that my variables are not actually (direct) properties of the object. This makes a lot of sense, but I would still like to be able to debug my view variables. If anybody has a solution, I'm open to suggestions.</p>