Search code examples
phpeclipsedebuggingautomationzend-studio

eclipse / Zend Studio: How to add PHP servers and debug configurations from outside?


Is it possible to create new PHP servers

enter image description here

and debug configurations sets

enter image description here

enter image description here

outside of eclipse? What files do I need to create/change to do this?

I want to write a script to automate this process.


Solution

  • I've got an answer in the Eclipse Community Forum.

    PHP Servers are persisted in {workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.php.server.core.prefs

    Debug(Launch) configurations are stored in {workspace}/.metadata/.plugins/org.eclipse.debug.core/.launches

    (editing those files directly is contrary to manners of course)