Project

General

Profile

Actions

Eclipse

THIS PAGE IS OUTDATED, please refer to Local dataportal development and test environment on Debian based Linux

Local dataportal development and test environment on Os X

<Directory "/path/to/eclipse_workspace/Drupal5">
    AllowOverride All
    Options Indexes
    Order allow,deny
    Allow from all
</Directory>

or use apache only locally by adding:

DocumentRoot "/path/to/eclipse_workspace/"
  • Add aliases for different projects to Apache @/opt/local/apache2/conf/httpd.conf@:
Alias "/drupal_test"     "/path/to/eclipse_workspace/Drupal5"
Alias "/expertsdb"       "/path/to/eclipse_workspace/Drupal5"
Alias "/drupal_demo"     "/path/to/eclipse_workspace/Drupal5"
Alias "/cdm_dataportal"  "/path/to/eclipse_workspace/Drupal5"
Alias "/drupal6"         "/path/to/eclipse_workspace/Drupal6"
$ sudo port install xdebug
  • Add the following to your /opt/local/etc/php.ini and adapt accordingly:
zend_extension_ts=/opt/local/lib/php/extensions/no-debug-non-zts-20060613/xdebug.so
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_port=9000
xdebug.remote_host=127.0.0.1
xdebug.remote_log=/opt/local/apache2/logs/xdebug_remote.log
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
;     Type: integer, Default value: 0
;     When this setting is set to 1, you can trigger the generation of profiler files by using the XDEBUG_PROFILE GET/POST parameter. This will then write the profiler data to defined directory.
xdebug.profiler_output_dir = /tmp
; xdebug.profiler_output_name
;     Type: string, Default value: cachegrind.out.%p
;     This setting determines the name of the file that is used to dump traces into. The setting specifies the format with format specifiers, very similar to sprintf() and strftime(). There are several format specifiers that can be used to format the file name.

Updated by Andreas Kohlbecker over 5 years ago · 4 revisions