When I'm debugging, I would like to exclude certain directories - for example, every time a class is instantiated, my debugger steps into Doctrine's ClassLoader::loadClass() which is annoying... I tried adding those directories I want to exclude in Settings / PHP / Debug / Skipped Paths, but that doesn't help...
What I found in PhpStorm (I don't know since which version it's there - mine now is 2018.1):
Lanugage & Frameworks > PHP > Debug > Step Filters
.
For Symfony 4, these Skipped Methods
brought peace to debugging:
Composer\Autoload\ClassLoader->findFileWithExtension
Composer\Autoload\ClassLoader->findFile
Symfony\Component\Debug\DebugClassLoader->loadClass
Symfony\Component\Debug\DebugClassLoader->checkClass
Symfony\Component\Debug\DebugClassLoader->getOwnInterfaces
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With