vim-vdebug/vdebug

vdebug cannot support multiple simultaneous connections for php

開放

#227 建立於 2015年9月6日

 (2 則留言) (4 個反應) (0 位負責人)Python (162 個分叉)batch import
enhancementhelp wanted

倉庫指標

星標
 (1,297 顆星)
PR 合併指標
 (30 天內沒有已合併 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

貢獻者指南