vim-vdebug/vdebug

vdebug cannot support multiple simultaneous connections for php

オープン

#227 opened on 2015/09/06

 (2 件のコメント) (4 件のリアクション) (0 人の担当者)Python (162 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (1,297 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド