Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » settings for debugging php with eclipse mars(What I have done to arrange and install php eclipse: There is somthing wrong)
settings for debugging php with eclipse mars [message #1820977] Mon, 03 February 2020 18:20 Go to next message
dulittle Schmidt is currently offline dulittle SchmidtFriend
Messages: 1
Registered: February 2020
Junior Member

I want to debug php with eclipse-mars.

1.I have downloaded
I have unziped the first and copied the features
and plugins of the second in the features and
plugins locations of the first.

2.I further have installed xamp.(php5.5.12, apache2.4.9)
with zend-debugger.
I have set in the C:\wamp\bin\apache\bin\php.ini
xdebug.remote_enable = on
So xdebug.remote_enable is On, xdebug.remote_handler is dbgp and
xdebug.remote_host is 9000

3.I have built the Workspace: c:/wamp
4.Further I have built a eclipse Project with File->New->Project ProjectName www
Under c:/wamp/www lie my php-Program files which need no post variable and
are standalone objects.

5.In eclipse I have made the following settings:
Choose Windows->Preferences (that seemed for me the only location were
I have to make settings, also please note the three questionmarks).

Debug: PHP Server: Default PHP Web Server
PHP Executable: 5.5.12
Debugger: XDebug
Debuggers Zend Debugger, XDebug
Editor->Interpreter: PHP 5.5
PHP Excutables PHP 5.5.12
Servers http://localhost
BrowserConfiguration PHP Web Browser
PHP InstalledInterpreters C:\wamp\bin\php\php5.5.12\php.exe
PHP External Tools Run PHP command C:\wamp\bin\php\php5.5.12\php.exe
Parser command C:\wamp\bin\php\php5.5.12\php.exe -I -f{0}
XAMPP Start: c:\wamp\wampmanger.exe ?
Stop: c:\wamp\xampp_exe.stop ?
Appache: c:\wamp\bin\apache\apache2.4.9\bin\ApacheMonitor.exe or
XDebug Debugport 9000
PHP Interpreter C:\wamp\bin\php\php5.5.12\php.exe

Launching Configurations PHP CLI Application
Perspectives PHP CLIApplication
Debug: Debug ?
Run: PHP

View Management Debug, PHP, PHP(default)

6.Now I see my php-Files in my eclipse-project. I start my WampServer.

7.I load one errorfree php-File in my php-perspective.
I choose eclipse Run->Debug
Then I have there a menue-point "debug on Server"
But I need "debug CLIApplication" or "debug WebApplication".
Wenn I click "debug on Server" I receive the error:
"the selection did not contain any resources that can run"

So the Question is: what is Wrong? Perhaps I have to make settings
under Debug->DebugConfigurations?
Re: settings for debugging php with eclipse mars [message #1821042 is a reply to message #1820977] Tue, 04 February 2020 17:32 Go to previous message
Dawid Pakula is currently offline Dawid PakulaFriend
Messages: 290
Registered: March 2013
Senior Member
PHPEclipse is not PDT, it's dead non eclipse foundation project.

Mars is also ancient (5-years old) release. Current is 2019-12.

Previous Topic:How to run a HTML page with occasional PHP scripts?
Next Topic:How create a PDT connection to mysql database
Goto Forum:

Current Time: Mon Nov 28 06:10:40 GMT 2022

Powered by FUDForum. Page generated in 0.02415 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top