Debugging Joomla with Komodo IDE: Difference between revisions

From Joomla! Documentation

Pacav69 (talk | contribs)
Pacav69 (talk | contribs)
Line 15: Line 15:
== Configure IDE for debbugging ==
== Configure IDE for debbugging ==


===Modifying the php.ini file===
In order to use the debugger you need to modify the php.ini file of the Apache server you are using
Goto /applications/joomla-3.4.3-1/php/etc/php.ini
open up this file
===In the IDE===
Open up preferences select--> languages -->PHP
Open up preferences select--> languages -->PHP


Under the label default php interpreter browse to
Under the label 'Default php interpreter' use the following:
* goto 'Use this interpreter' browse to
  /applications/joomla-3.4.3-1/php/bin/php
  /applications/joomla-3.4.3-1/php/bin/php


Under the label default composer interpreter browse to
* Under the label default composer interpreter browse to
  /applications/joomla-3.4.3-1/php/bin/php  
  /applications/joomla-3.4.3-1/php/bin/php  


Under the label path to alternative PHP configuration file browse to
* Under the label path to alternative PHP configuration file browse to
  /applications/joomla-3.4.3-1/php/etc/php.ini
  /applications/joomla-3.4.3-1/php/etc/php.ini



Revision as of 18:58, 25 July 2015

Installation

WIP

Download and install Komodo IDE

Download and install Komodo ide

Create a project

Create a project in your installed MAMP

located on a MAC /applications/joomla-3.4.3-1/apps/joomla this will display all files in the left side panel of the IDE.

This will allow you to directly edit and debug your code.

Configure IDE for debbugging

Modifying the php.ini file

In order to use the debugger you need to modify the php.ini file of the Apache server you are using

Goto /applications/joomla-3.4.3-1/php/etc/php.ini open up this file

In the IDE

Open up preferences select--> languages -->PHP

Under the label 'Default php interpreter' use the following:

  • goto 'Use this interpreter' browse to
/applications/joomla-3.4.3-1/php/bin/php
  • Under the label default composer interpreter browse to
/applications/joomla-3.4.3-1/php/bin/php 
  • Under the label path to alternative PHP configuration file browse to
/applications/joomla-3.4.3-1/php/etc/php.ini


Setup for debugging.
Setup for debugging.

Test setup

WIP


With version 9.x of Komodo IDE