CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, Fhalcon, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Wed Dec 11, 2019 7:25 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Debugger (Russian language)
PostPosted: Wed May 22, 2019 10:38 pm 
Offline

Joined: Wed May 22, 2019 10:19 pm
Posts: 4
Здравствуйте. В связи с тем, что увидел такое сообщение, возник вопрос.

Image

Перед нажатием на кнопку "Установить отладчик" надо закомментировать строчки в php.ini?:
Code:
zend_extension="\usr\local\php5\ext\php_xdebug-2.4.0rc4-5.4-vc9.dll"

xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir="/tmp"
xdebug.profiler_output_name = "cachegrind.out.%u"

xdebug.trace_output_dir = "/tmp"


Полный код фрагмента там такой:
Code:
; XDebug settings.
[xdebug]
zend_extension="\usr\local\php5\ext\php_xdebug-2.4.0rc4-5.4-vc9.dll"
xdebug.auto_trace = 0
;xdebug.collect_includes = 1
;xdebug.collect_params = 0
;xdebug.collect_return = 0
;xdebug.collect_vars = 0
xdebug.default_enable = 0
;xdebug.dump.SERVER = REMOTE_ADDR,REQUEST_METHOD
;xdebug.dump.SERVER = REMOTE_ADDR,REQUEST_METHOD
;xdebug.dump.COOKIE = ""
;xdebug.dump.FILES = ""
;xdebug.dump.GET = ""
;xdebug.dump.POST = ""
;xdebug.dump.REQUEST = ""
;xdebug.dump.SERVER = ""
;xdebug.dump.SESSION = ""
;xdebug.dump_globals = 1
;xdebug.dump_once = 1
;xdebug.dump_undefined = 0
;xdebug.extended_info = 1
;xdebug.file_link_format = ""
;xdebug.idekey = ""
;xdebug.manual_url = "http://www.php.net"
;xdebug.max_nesting_level = 100
;xdebug.overload_var_dump = 1
;xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir="/tmp"
xdebug.profiler_output_name = "cachegrind.out.%u"
;xdebug.remote_autostart = 0
;xdebug.remote_enable = 0
;xdebug.remote_handler = "dbgp"
;xdebug.remote_host = "localhost"
;xdebug.remote_log = "none"
;xdebug.remote_mode = "req"
;xdebug.remote_port = 9000
;xdebug.show_exception_trace = 0
;xdebug.show_local_vars = 0
;xdebug.show_mem_delta = 0
;xdebug.trace_format = 0
;xdebug.trace_options = 0
xdebug.trace_output_dir = "/tmp"
;xdebug.trace_output_name = "trace.%H%R"
;xdebug.var_display_max_children = 128
;xdebug.var_display_max_data = 512
;xdebug.var_display_max_depth = 3

; Local Variables:
; tab-width: 4
; End:


В поле "Веб сервер" что вписывать? Какую строку в точности? Установлен Аpache 2.2.31 по пути "C:\WebServers\usr\local\apache" в Windows XP.
Или, если ориентироваться на виртуальный путь, как на скриншоте, где прописан PHP
"Z:\usr\local\apache\"


Attachments:
Веб сервер в настройках отладчика.jpg
Веб сервер в настройках отладчика.jpg [ 8.65 KiB | Viewed 9318 times ]
Top
 Profile  
 
 Post subject: Re: Debugger (Russian language)
PostPosted: Thu May 23, 2019 12:26 pm 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3467
Здравствуйте.

Поле "веб сервер" нужно оставить пустым.

Спасибо,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: Debugger (Russian language)
PostPosted: Thu May 23, 2019 12:39 pm 
Offline

Joined: Wed May 22, 2019 10:19 pm
Posts: 4
Благодарю за информацию. А что по поводу вот этой части вопроса?

Quote:
Перед нажатием на кнопку "Установить отладчик" надо закомментировать строчки в php.ini?:
Code:
zend_extension="\usr\local\php5\ext\php_xdebug-2.4.0rc4-5.4-vc9.dll"

xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir="/tmp"
xdebug.profiler_output_name = "cachegrind.out.%u"

xdebug.trace_output_dir = "/tmp"


Полный код фрагмента там такой:
Code:
; XDebug settings.
[xdebug]
zend_extension="\usr\local\php5\ext\php_xdebug-2.4.0rc4-5.4-vc9.dll"
xdebug.auto_trace = 0
;xdebug.collect_includes = 1
;xdebug.collect_params = 0
;xdebug.collect_return = 0
;xdebug.collect_vars = 0
xdebug.default_enable = 0
;xdebug.dump.SERVER = REMOTE_ADDR,REQUEST_METHOD
;xdebug.dump.SERVER = REMOTE_ADDR,REQUEST_METHOD
;xdebug.dump.COOKIE = ""
;xdebug.dump.FILES = ""
;xdebug.dump.GET = ""
;xdebug.dump.POST = ""
;xdebug.dump.REQUEST = ""
;xdebug.dump.SERVER = ""
;xdebug.dump.SESSION = ""
;xdebug.dump_globals = 1
;xdebug.dump_once = 1
;xdebug.dump_undefined = 0
;xdebug.extended_info = 1
;xdebug.file_link_format = ""
;xdebug.idekey = ""
;xdebug.manual_url = "http://www.php.net"
;xdebug.max_nesting_level = 100
;xdebug.overload_var_dump = 1
;xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir="/tmp"
xdebug.profiler_output_name = "cachegrind.out.%u"
;xdebug.remote_autostart = 0
;xdebug.remote_enable = 0
;xdebug.remote_handler = "dbgp"
;xdebug.remote_host = "localhost"
;xdebug.remote_log = "none"
;xdebug.remote_mode = "req"
;xdebug.remote_port = 9000
;xdebug.show_exception_trace = 0
;xdebug.show_local_vars = 0
;xdebug.show_mem_delta = 0
;xdebug.trace_format = 0
;xdebug.trace_options = 0
xdebug.trace_output_dir = "/tmp"
;xdebug.trace_output_name = "trace.%H%R"
;xdebug.var_display_max_children = 128
;xdebug.var_display_max_data = 512
;xdebug.var_display_max_depth = 3

; Local Variables:
; tab-width: 4
; End:



Top
 Profile  
 
 Post subject: Re: Debugger (Russian language)
PostPosted: Thu May 23, 2019 1:09 pm 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3467
да, эти строки нужно закомментировать


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 13 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2016 phpBB Group