V
V
Vincent12017-01-25 21:07:40
xdebug
Vincent1, 2017-01-25 21:07:40

PHPstorm + Xdebug not showing current breakpoint?

[xdebug]
xdebug.remote_enable=1
xdebug.idekey="PHPSTORM"
xdebug.profiler_output_dir="/tmp/xdebug/"
xdebug.trace_output_dir="/tmp/xdebug/"
xdebug.remote_autostart=1
xdebug.remote_log="/tmp/xdebug/log"

<?php
$i=0;
$i++;
$i='a';
require 'vendor/autoload.php';
print 1;

Debugging works, but the problem is that PHPstorm doesn't show the current breakpoint. Instead, ide shows all breakpoints active. In this example, there are 5 lines and if you press step forward 5 times, then the script will finish executing as it should. That's just in the debug window does not show any values.
db8a0552cfa74b00968f342642f02c89.PNG
The picture shows that ide has stopped, as it were, at 2 points at the same time.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vincent1, 2017-01-25
@Vincent1

https://confluence.jetbrains.com/display/PhpStorm/...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question