jide / clamp

Command Line Apache MySQL PHP
http://jide.github.io/clamp
GNU General Public License v2.0
79 stars 9 forks source link

XDebug issue #23

Closed hanvari closed 7 years ago

hanvari commented 7 years ago

Hi, I’m trying to use XDebug for debugging my PHP scripts, but apparently this module is not available. Currently I added a configuration to ‘php’ entry of clamp.json, setting “xdebug.remote_autostart” to 1, but it doesn’t do anything (I think the module is not loaded at all). How can I enable and use it?

Thanks.

jide commented 7 years ago

You could probably use a custom php module with xdebug and point at it here https://github.com/jide/clamp/blob/master/clamp.defaults.15.json#L35. But I'm not sure.