vim-vdebug/vdebug

vdebug cannot support multiple simultaneous connections for php

Open

#227 aperta il 6 set 2015

Vedi su GitHub
 (2 commenti) (4 reazioni) (0 assegnatari)Python (162 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (1297 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

frontend.php :

<?php
$personJson = file_get_contents('http://127.0.0.1:778/backend.php');
$person = json_decode($personJson);

var_dump($person);

backend.php :

<?php
class Person {
    public $Name;
    public $Email;
}

$person = new Person();
$person->Name = "Maarten";
$person->Email = "maarten.balliauw@jetbrains.com";

echo json_encode($person);

set a breakpoint in backend.php, vdebug won't break (Debugging session has ended).

see more details: https://confluence.jetbrains.com/display/PhpStorm/Simultaneous+debugging+sessions+with+PhpStorm#SimultaneousdebuggingsessionswithPhpStorm-1.Ensureadebuggersessionisstartedforchildrequests

Guida contributor