php - How do I ignore certain files while debugging in PHPStorm? -


i have debugging working in phpstorm xdebug , local apache webserver. i'm using codesniffer check code style. codesniffer (phpcs.bat) tool can enable in phpstorm external php script runs every 3-5 seconds. annoying thing is, whenever have debug enabled (listen connections), tries debug phpcs script though not part of project. what's odder phpcs run via php command line, not apache server of xdebug part.

is there anyway stop phpstorm debugging external, command-line script?

one possible solution add following parameters bat file runs phpcs:

-d xdebug.remote_host="8.8.1.1" \ -d xdebug.remote_enable=0 \ -d xdebug.remote_autostart=0 

this sets custom php ini settings on command line interface.


alternately, go settings | php | debug in phpstorm , add directory debug ignore list.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -