title: How to enable profiler in symfony 4
body: <p><strong>Solved:</strong></p>
  
  <p>I re-install it all over again and now it contains the web_profiler.yalm inside. Thanks to all.</p>
  
  <hr>
  
  <p>The original question was:</p>
  
  <p>I´m just starting to learn Symfony so I downloaded the free videos at <a href="https://knpuniversity.com/screencast/symfony" rel="noreferrer">KnpUniversity</a> to get started. When I reached the video "Web Debug Toolbar &amp; the Profiler!" I excecuted the next command:</p>
  
  <pre><code>&gt; composer require profiler --dev
  </code></pre>
  
  <p>it installed OK.</p>
  
  <p>Then, when I opened my app in the browser the "(...)slick black bar at the bottom..." didn't show up.</p>
  
  <p>I read somewhere that maybe is due to I haven't installed symfony/debug but look at my composer.json:</p>
  
  <pre><code>"require-dev": {
          "sensiolabs/security-checker": "^4.1",
          "symfony/debug": "^4.0",
          "symfony/dotenv": "^4.0",
          "symfony/profiler-pack": "^1.0",
          "symfony/web-server-bundle": "^4.0"
      },
  </code></pre>
  
  <p>so I have it installed. </p>
  
  <p>I excecuted the following command which give me the profiler configuration in my project:</p>
  
  <pre><code>&gt; php bin/console debug:config web_profiler                   
  
  Current configuration for extension with alias "web_profiler" 
  ============================================================= 
  
  web_profiler:                                                 
      toolbar: false                                            
      intercept_redirects: false                                
      excluded_ajax_paths: '^/((index|app(_[\w]+)?)\.php/)?_wdt'
  </code></pre>
  
  <p>As you see above, the toolbar is set to false, <strong>How can I activate it?</strong> or <strong>How can I get the profiler bar showed up?</strong></p>
  
  <p>I'm using:</p>
  
  <ul>
  <li>Composer version 1.6.5, </li>
  <li>Symfony 4.1.1 and </li>
  <li>PHP 7.2.7</li>
  </ul>
  
  <p>Thanks in advance.</p>
  
  <p><strong>Solution:</strong></p>
  
  <p>I created a new project and it worked, it appears to be an error when composer was downloading the packages.</p>