title: Debugging Laravel with Xdebug in IntelliJ IDEA/PhpStorm with artisan serve command
body: <p>I am trying to figure out how to properly debug a Laravel controller using the <code>artisan serve</code> command. It seems in Laravel 8+ the serve command calls <code>pcntl_proc</code> and creates a sub-process, the breakpoints that are inside the sub-process are not captured by both IDEA and PhpStorm.</p>
  <p>Can someone suggest a better way to handle this?</p>