Reputation: 705
I'm using Xdebug as my debugger for my code. Although adminer errors all the time (probably because of the obfuscation of the source code.)
I now want to ignore that specific file, and found that you can ignore folders, but don't see any option to ignore a specific file.
This is how to ignore a specific folder:
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000,
"ignore": [
"**/vendor/**/*"
]
}
Now, logically thinking I thought I'd change "**/vendor/**/*"
to adminer.php
. But that didn't work. I also tried changing it to *adminer.php
and */adminer.php
but this doesn't work as well.
Is there a possibility for doing this?
I need it to be able to have this specific different, so not in any config file of Xdebug itself, but in launch.json
Upvotes: 6
Views: 1912
Reputation: 56537
Recent VSCODE (Debug by XDEBUG extension) does not seem to recognize "ignore"
or "exclude"
for my case, instead I use:
"skipFiles": [
"**/vendor/dir/to/yourfile.php",
]
Upvotes: 4