Results 1 to 3 of 3

Thread: Eclipse PDT + Local Apache Config

  1. #1
    Join Date
    Sep 2007
    Location
    Milwaukee, WI
    Beans
    268
    Distro
    Ubuntu Development Release

    Eclipse PDT + Local Apache Config

    Hey everyone --

    I've done a lot of reading online, but I can't get my development environment set up quite the way I'd like. I'm trying to configure local PHP debugging via Eclipse PDT/xdebug.

    Right now, apache has an "available-site" entry that points to "/home/user/workspace/eclipseProjectName" and this does work -- I can launch projects and step through PHP code using Eclipse. However, this approach requires me to make a new "available-site" entry for each Eclipse project that I want to debug.

    Typically, I'm only working on one or two projects, so this isn't a really big deal, but I'd like to instead have one "available-site" that points to "/home/user/www" (or wherever I put it), and then have Eclipse map each project to that folder when I debug.

    I've played with the "Path Mapping" settings in Eclipse's PHP server config, but I can't get it to work -- trying to launch a debug session always results in a file not found error.

    Maybe someone here can shed some light? It took a LONG time to get PDT working correctly -- the documentation is less than stellar. Getting this path mapping to work is the last thing I need to tweak in my dev environment.

  2. #2
    Join Date
    Sep 2007
    Location
    Milwaukee, WI
    Beans
    268
    Distro
    Ubuntu Development Release

    Re: Eclipse PDT + Local Apache Config

    No one?

    There's got to be someone out there doing PHP work via Eclipse/PDT...

  3. #3
    Join Date
    Sep 2007
    Location
    Milwaukee, WI
    Beans
    268
    Distro
    Ubuntu Development Release

    Re: Eclipse PDT + Local Apache Config

    Bueller...?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •