NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Debugger in Ubuntu without GUI (X11) possible?


Joined: 27 Apr 2012
Posts: 6
Reply with quote
Hello,

I have a Windows XP machine with PHPEd, 3rd party debugging works flawless with my Apache webserver(with the dgb-dll).
I wonder if it is possible to debug a PhpEd-Project on my Windows XP via a virtual Ubuntu console machine, without any GUI.
I have an apache webserver on it, but no X-Server.
Can I use this apache webserver on this ubuntu to (3rd party) debug my PhpEd Project which is on Windows XP?
The virtual machine Ubuntu 12.04 is on this Windows XP as well (running in VMware Workstation).

I mean: there are Linux debug libraries, e.g.:

dbg-4.5.1-Linux.tar\dbg-4.5.1-Linux\x86_64\dbg-php-5.3.so

but how do I use them in my environment?

Thanks,

frank
View user's profileFind all posts by francwalterSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7881
Reply with quote
You don't need X to run debugger.
Just follow instructions on how to install debugger which you can find in FAQ section on our web

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 27 Apr 2012
Posts: 6
Reply with quote
Yes, X not needed. Endly I got it. It was a bit tricky for me, but easy in reality, when you know how Wink

Firstly, the dbg library must be installed on the external Ubuntu apache, it must be the right dbg for it, so for my PHP 5.3 I needed:

PHPed\debugger\server\dbg-4.5.1-Linux.tar.gz\dbg-4.5.1-Linux.tar\dbg-4.5.1-Linux\x86_64\dbg-php-5.3.so

I used the dbg-wizard.php and this helps in some steps. My problem was, that I had no direct connection to this ubuntu, only SSH (and I used WinSCP to change the files).
So when I changed something on the external ubuntu files, I had to change it identical and manually on my local PhpEd-project to debug correctly.

So the best would be, if possible, to make a new project with the root directory on the external server via file sharing or some simular service.

frank
View user's profileFind all posts by francwalterSend private message
Debugger in Ubuntu without GUI (X11) possible?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic