Is there an API by which an external process could instruct PhpStorm to add a breakpoint to a line of a file? Such as:
$ phpstorm --action SetBreakpoint --targetFile /var/www/foo/bar.php --targetLine 351
Any format will do, I can wrap my Bash into anything PhpStorm will accept. My current goal is to add breakpoints to the 500 places in my project that I've identified as being the potential source of an issue. But I don't know which of the 500 is the one that is actually invoked!
If there is no API for this, would I be able to add breakpoints to specific lines with a PhpStorm extension? As in, if I invest in learning how to write PhpStorm extensions, is adding breakpoints to specific lines in specific files something that a PhpStorm extension could do?