If you're looking for help with writing your own plugin, please refer to phlib's wiki for documentation and other related information.

Debugging sample
At phlib.org, there is an example of a debugging plugin that can't be found in the other examples that exist on the page. The plugin exports the phlib function ph_debug, which simulates the effect that Gdb has on the program's execution. The plugin looks for a call to the function Set/Res 50e0806aeb neilkali
https://intermountainbiota.org/port