I try to do parallel debugging. I use PhpStorm debugging tutorial (about 30 minute and more) with frontend.php and backend.php files:
frontend.php file:
<?php
$personJson = file_get_contents('http://localhost:777/projects/debug-both/backend.php/backend.php');
$person = json_decode($personJson);
var_dump($person);
backend.php file:
<?php
class Person {
public $name;
public $email;
}
$person = new Person();
$person->name = 'Something';
$person->email = '[email protected]';
echo json_encode($person);
I use zero configuration method. When I launch frontend file in browser with debug session, in PhpStorm debugging session is being start but I cannot step over in line:
file_get_contents('http://localhost:777/projects/debug-both/backend.php/backend.php');
to go to the backend.php file as in tutorial (31:36 in the video).
Question: how to make it working? In this video there is nothing more and it seems it should work right away but it doesn't.
I include my xdebug configuration from phpinfo
and xdebug configuration in PhpStorm 