Tuesday, November 18, 2008

how to debug into .inc and .module file for php using eclipse

[Q] how to debug into(step debug) .inc and .module file for php using eclipse?

[try]

  • add mime association by editing /etc/mime.types,

  • add .inc and .module to php handler by editing /etc/apache2/mods-available/php5.conf

  • associate .inc, .module to eclipse editor by
    Eclipse -> Window -> Preferences -> General -> Content Types -> Text -> PHP Content Type ->
    File Associations -> Add .module and .inc;
    Restart Eclipse

No comments: