I am using Xdebug to analyze my Laravel code. I use the trace and coverage function.
For coverage, I can config whitelist and exclude to configure what directory and file I want to analyze.
But for trace, I don't know how to configure the exclude directory. Like vendor
, I think they are no change, so I want to exclude them. I just want to focus on my code.
Do you know how I can configure trace exclude or blacklist?
<?xml version="1.0" encoding="UTF-8" ?>
<phpunit backupGlobals="true" colors="true" convertErrorsToExceptions="true"
convertNoticesToExceptions="true" convertWarningsToExceptions="true" stopOnFailure="false">
<filter>
<whitelist processUncoveredFilesFromWhitelist="false" addUncoveredFilesFromWhitelist="false">
<directory suffix=".php">./../</directory>
<exclude>
<directory suffix=".php">./../vendor</directory>
</exclude>
</whitelist>
<blacklist>
</blacklist>
</filter>
</phpunit>