martomo / SublimeTextXdebug

Xdebug debugger client for Sublime Text
MIT License
564 stars 89 forks source link

Unable to get xdebug client working. #60

Closed edroch closed 10 years ago

edroch commented 10 years ago

Hi martomo, Hope you can help me. Answering your questions

What operation system(s) and version of Sublime Text are you using? Windows 7 with wamp, Sublime Text 2.0.2

How did you install SublimeTextXdebug, Package Control, git clone or download? Package Control

Are you trying to debug the script remotely or locally, through browser or command line? Locally, browser

Which version of Xdebug extension do you have? version 2.1.2

Can you post your project/settings file and Xdebug configuration from the *.ini located on your server. php.ini: zend_extension = "D:/server/bin/php/php5.3.10/zend_ext/php_xdebug-2.1.2-5.3-vc9-x86_64.dll" [xdebug] xdebug.remote_enable = 1 xdebug.remote_host = localhost xdebug.remote_port = 9000 xdebug.remote_handler = "dbgp" xdebug.remote_mode = req xdebug.remote_connect_back = 1

setting default (Xdebug.sublime-settings): "path_mapping": { "D:/server/www/ramses/" : "D:/server/www/ramses/" }, // Determine which URL to launch in the default web browser // when starting/stopping a session. "url": "http://localhost/ramses/index.php",

Does the console window (Ctrl+`) show any more information regarding the error? No.

martomo commented 10 years ago

Can you check phpinfo() whether your PHP installation has Thread safety enabled/disabled and has Xdebug loaded, as shown in the following picture. phpinfo xdebug

You also might want to check out these instructions to inject a cookie with browser extension to initialize the debugging session.

edroch commented 10 years ago

This is what I am seeing in phpinfo image image

I am going to check the instructions about injecting cookie. Thanks in advance for your help.

edroch commented 10 years ago

Hi Martijn, I installed Xdebug Helper for Chrome and it all worked. Thank you so much for you help!

asmode111 commented 10 years ago

Hi martomo,

SublimeTextXdebug is not working although I installed Xdebug Helper for Chrome.

The configuration of mine is the same of edroch's. The differences are;

martomo commented 10 years ago

@onurdegerli Please see this section in README for possible solutions. In case you still have an issue, please create a new issue with the requested data as described in the README.