vim-vdebug/vdebug

vdebug cannot support multiple simultaneous connections for php

Open

#227 aberto em 6 de set. de 2015

Ver no GitHub
 (2 comments) (4 reactions) (0 assignees)Python (162 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (1.297 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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

Guia do colaborador