PHP version: 7.0.12
XDebug version: 2.4.1
Adapter version: 1.12.3
Your launch.json:
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9000
}
`
XDebug php.ini config:
xdebug.profiler_output_dir="D:\phpStudy\tmp\xdebug"
xdebug.trace_output_dir="D:\phpStudy\tmp\xdebug"
zend_extension="D:\phpStudy\php\php-7.0.12-nts\ext\php_xdebug.dll"
xdebug.remote_enable = 1
xdebug.remote_autostart = 1
xdebug.remote_handler="dbgp"
xdebug.remote_host="localhost"
xdebug.remote_port=9000
XDebug logfile (from setting xdebug.remote_log in php.ini):
Adapter logfile (from setting "log": true in launch.json):
In vscode, there is such a problem。
However, this problem does not occur in PhpStorm。
Could you please include the logfiles?
Log opened at 2018-04-18 01:21:28
I: Connecting to configured address/port: localhost:9000.
I: Connected to client. :-)
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///D:/phpStudy/WWW/loaf-coding/src/artisan" language="PHP" xdebug:language_version="7.0.5" protocol_version="1.0" appid="9764" idekey="PHPSTROM"><engine version="2.4.1"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2016 by Derick Rethans]]></copyright></init>
<- breakpoint_list -i 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="1"></response>
<- breakpoint_list -i 2
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="2"></response>
<- breakpoint_set -i 3 -t line -f file:///d:/phpStudy/WWW/loaf-coding/src/plugins/ibiart/loaf/controllers/Home.php -n 34
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="3" id="97640001"></response>
<- breakpoint_set -i 4 -t line -f file:///d:/phpStudy/WWW/loaf-coding/src/plugins/ibiart/loaf/controllers/Home.php -n 240
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="4" id="97640002"></response>
<- breakpoint_set -i 5 -t line -f file:///d:/phpStudy/WWW/loaf-coding/src/plugins/ibiart/loaf/controllers/Home.php -n 242
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="5" id="97640003"></response>
<- breakpoint_set -i 6 -t line -f file:///d:/phpStudy/WWW/loaf-coding/src/plugins/ibiart/loaf/console/ImportModelData.php -n 56
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="6" id="97640004"></response>
<- breakpoint_set -i 7 -t line -f file:///d:/phpStudy/WWW/loaf-coding/src/plugins/ibiart/loaf/console/ImportModelData.php -n 59
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="7" id="97640005"></response>
<- breakpoint_set -i 8 -t line -f file:///d:/phpStudy/WWW/loaf-coding/src/plugins/ibiart/loaf/console/ImportModelData.php -n 73
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="8" id="97640006"></response>
<- breakpoint_list -i 9
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="9"><breakpoint type="line" filename="file:///D:/phpStudy/WWW/loaf-coding/src/plugins/ibiart/loaf/controllers/Home.php" lineno="34" state="enabled" hit_count="0" hit_value="0" id="97640001"></breakpoint><breakpoint type="line" filename="file:///D:/phpStudy/WWW/loaf-coding/src/plugins/ibiart/loaf/controllers/Home.php" lineno="242" state="enabled" hit_count="0" hit_value="0" id="97640003"></breakpoint><breakpoint type="line" filename="file:///D:/phpStudy/WWW/loaf-coding/src/plugins/ibiart/loaf/controllers/Home.php" lineno="240" state="enabled" hit_count="0" hit_value="0" id="97640002"></breakpoint><breakpoint type="line" filename="file:///D:/phpStudy/WWW/loaf-coding/src/plugins/ibiart/loaf/console/ImportModelData.php" lineno="59" state="enabled" hit_count="0" hit_value="0" id="97640005"></breakpoint><breakpoint type="line" filename="file:///D:/phpStudy/WWW/loaf-coding/src/plugins/ibiart/loaf/console/ImportModelData.php" lineno="56" state="enabled" hit_count="0" hit_value="0" id="97640004"></breakpoint><breakpoint type="line" filename="file:///D:/phpStudy/WWW/loaf-coding/src/plugins/ibiart/loaf/console/ImportModelData.php" lineno="73" state="enabled" hit_count="0" hit_value="0" id="97640006"></breakpoint></response>
<- breakpoint_list -i 10
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="10"><breakpoint type="line" filename="file:///D:/phpStudy/WWW/loaf-coding/src/plugins/ibiart/loaf/controllers/Home.php" lineno="34" state="enabled" hit_count="0" hit_value="0" id="97640001"></breakpoint><breakpoint type="line" filename="file:///D:/phpStudy/WWW/loaf-coding/src/plugins/ibiart/loaf/controllers/Home.php" lineno="242" state="enabled" hit_count="0" hit_value="0" id="97640003"></breakpoint><breakpoint type="line" filename="file:///D:/phpStudy/WWW/loaf-coding/src/plugins/ibiart/loaf/controllers/Home.php" lineno="240" state="enabled" hit_count="0" hit_value="0" id="97640002"></breakpoint><breakpoint type="line" filename="file:///D:/phpStudy/WWW/loaf-coding/src/plugins/ibiart/loaf/console/ImportModelData.php" lineno="59" state="enabled" hit_count="0" hit_value="0" id="97640005"></breakpoint><breakpoint type="line" filename="file:///D:/phpStudy/WWW/loaf-coding/src/plugins/ibiart/loaf/console/ImportModelData.php" lineno="56" state="enabled" hit_count="0" hit_value="0" id="97640004"></breakpoint><breakpoint type="line" filename="file:///D:/phpStudy/WWW/loaf-coding/src/plugins/ibiart/loaf/console/ImportModelData.php" lineno="73" state="enabled" hit_count="0" hit_value="0" id="97640006"></breakpoint></response>
<- run -i 11
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run" transaction_id="11" status="break" reason="ok"><xdebug:message filename="file:///D:/phpStudy/WWW/loaf-coding/src/plugins/ibiart/loaf/console/ImportModelData.php" lineno="56"></xdebug:message></response>
<- stack_get -i 12
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="12"><stack where="Ibiart\Loaf\Console\ImportModelData->fire" level="0" type="file" filename="file:///D:/phpStudy/WWW/loaf-coding/src/plugins/ibiart/loaf/console/ImportModelData.php" lineno="56"></stack><stack where="call_user_func_array:{D:\phpStudy\WWW\loaf-coding\src\vendor\laravel\framework\src\Illuminate\Container\Container.php:507}" level="1" type="file" filename="file:///D:/phpStudy/WWW/loaf-coding/src/vendor/laravel/framework/src/Illuminate/Container/Container.php" lineno="507"></stack><stack where="Illuminate\Container\Container->call" level="2" type="file" filename="file:///D:/phpStudy/WWW/loaf-coding/src/vendor/laravel/framework/src/Illuminate/Container/Container.php" lineno="507"></stack><stack where="Illuminate\Console\Command->execute" level="3" type="file" filename="file:///D:/phpStudy/WWW/loaf-coding/src/vendor/laravel/framework/src/Illuminate/Console/Command.php" lineno="150"></stack><stack where="Symfony\Component\Console\Command\Command->run" level="4" type="file" filename="file:///D:/phpStudy/WWW/loaf-coding/src/vendor/symfony/console/Command/Command.php" lineno="239"></stack><stack where="Illuminate\Console\Command->run" level="5" type="file" filename="file:///D:/phpStudy/WWW/loaf-coding/src/vendor/laravel/framework/src/Illuminate/Console/Command.php" lineno="136"></stack><stack where="Symfony\Component\Console\Application->doRunCommand" level="6" type="file" filename="file:///D:/phpStudy/WWW/loaf-coding/src/vendor/symfony/console/Application.php" lineno="840"></stack><stack where="Symfony\Component\Console\Application->doRun" level="7" type="file" filename="file:///D:/phpStudy/WWW/loaf-coding/src/vendor/symfony/console/Application.php" lineno="190"></stack><stack where="Symfony\Component\Console\Application->run" level="8" type="file" filename="file:///D:/phpStudy/WWW/loaf-coding/src/vendor/symfony/console/Application.php" lineno="114"></stack><stack where="Illuminate\Foundation\Console\Kernel->handle" level="9" type="file" filename="file:///D:/phpStudy/WWW/loaf-coding/src/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php" lineno="107"></stack><stack where="{main}" level="10" type="file" filename="file:///D:/phpStudy/WWW/loaf-coding/src/artisan" lineno="35"></stack></response>
<- context_names -i 13 -d 0
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_names" transaction_id="13"><context name="Locals" id="0"></context><context name="Superglobals" id="1"></context><context name="User defined constants" id="2"></context></response>
<- context_get -i 14 -d 0 -c 0
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="14" context="0"><property name="$chunks" fullname="$chunks" type="uninitialized"></property><property name="$collection" fullname="$collection" type="uninitialized"></property><property name="$data_arr" fullname="$data_arr" type="uninitialized"></property><property name="$group_data" fullname="$group_data" type="uninitialized"></property><property name="$hierarchy" fullname="$hierarchy" type="array" children="1" numchildren="1" page="0" pagesize="32"><property name="data" fullname="$hierarchy['data']" type="array" children="1" numchildren="2"></property></property><property name="$k" fullname="$k" type="uninitialized"></property><property name="$key" fullname="$key" type="uninitialized"></property><property name="$metadata" fullname="$metadata" type="array" children="1" numchildren="1" page="0" pagesize="32"><property name="data" fullname="$metadata['data']" type="array" children="1" numchildren="2"></property></property><property name="$new_properties" fullname="$new_properties" type="uninitialized"></property><property name="$properties" fullname="$properties" type="array" children="1" numchildren="1" page="0" pagesize="32"><property name="data" fullname="$properties['data']" type="array" children="1" numchildren="2"></property></property><property name="$result" fullname="$result" type="uninitialized"></property><property name="$urn" fullname="$urn" type="string" size="191" encoding="base64"><![CDATA[ZFhKdU9tRmtjMnN1YjJKcVpXTjBjenB2Y3k1dlltcGxZM1E2Ylc5a1pXd3lNREUzTFRBMkxUQXlMVEUxTFRFMExUTTRMV1EwTVdRNFkyUTVPR1l3TUdJeU1EUmxPVGd3TURrNU9HVmpaamcwTWpkbEx5VkZOU1U1UXlWQ01DVkZOQ1ZDT0NVNFFTVkZOU1ZCUlNVNVJTVkZPU1ZCUVNVNFF5VkZOU1ZCUlNWQk5GOWtaWFJoWTJobFpDNXlkblE=]]></property><property name="$useful_data" fullname="$useful_data" type="uninitialized"></property><property name="$v" fullname="$v" type="uninitialized"></property><property name="$value" fullname="$value" type="uninitialized"></property><property name="$this" fullname="$this" type="object" classname="Ibiart\Loaf\Console\ImportModelData" children="1" numchildren="29" page="0" pagesize="32"><property name="token" fullname="$this->token" facet="protected" type="string" size="446" encoding="base64"><![CDATA[ZXlKaGJHY2lPaUpJVXpJMU5pSXNJbXRwWkNJNkltcDNkRjl6ZVcxdFpYUnlhV05mYTJWNUluMC5leUpqYkdsbGJuUmZhV1FpT2lKR1lteEJaVGx1WlVGRFVuTTVlRW81TjAxVmNrVnJUV1o2VUU5TmR6TjBSeUlzSW1WNGNDSTZNVFV5TkRBeE9EQTVNQ3dpYzJOdmNHVWlPbHNpWkdGMFlUcHlaV0ZrSWl3aVpHRjBZVHAzY21sMFpTSXNJbVJoZEdFNlkzSmxZWFJsSWl3aVluVmphMlYwT21OeVpXRjBaU0lzSW1KMVkydGxkRHB5WldGa0lsMHNJbUYxWkNJNkltaDBkSEJ6T2k4dllYVjBiMlJsYzJzdVkyOXRMMkYxWkM5cWQzUmxlSEEyTUNJc0ltcDBhU0k2SWtwaE1tRjVkMmhVTjFFMVRXUmhkMnBRUlRBd1dWTnRkV2RxVDNaWWRGZEhXbHBNVmtKdGJ6TnlWa1EwWWxkTE5tWjNkbnBEZDFodU1rVkpTM2gzV0dvaWZRLk92Y0QwSEk3OFBxMzlCVmNfWkFxOW5YTk5raVlZSTlncVpLSTFvY0J2cUk=]]></property><property name="propertiesData" fullname="$this->propertiesData" facet="public" type="null"></property><property name="id" fullname="$this->id" facet="public" type="int"><![CDATA[1]]></property><property name="data" fullname="$this->data" facet="public" type="array" children="0" numchildren="0"></property><property name="model_type" fullname="$this->model_type" facet="public" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="parent_id" fullname="$this->parent_id" facet="public" type="null"></property><property name="data_count" fullname="$this->data_count" facet="public" type="int"><![CDATA[0]]></property><property name="model_count" fullname="$this->model_count" facet="public" type="int"><![CDATA[0]]></property><property name="i" fullname="$this->i" facet="public" type="int"><![CDATA[0]]></property><property name="name" fullname="$this->name" facet="protected" type="string" size="20" encoding="base64"><![CDATA[bG9hZjppbXBvcnRtb2RlbGRhdGE=]]></property><property name="description" fullname="$this->description" facet="protected" type="string" size="57" encoding="base64"><![CDATA[SW1wb3J0IG1vZGVsIGRhdGEgdXRpbGl6aW5nIEF1dG9EZXNrIE1vZGVsIERlcml2YXRpdmUgQVBJ]]></property><property name="laravel" fullname="$this->laravel" facet="protected" type="object" classname="October\Rain\Foundation\Application" children="1" numchildren="32"></property><property name="input" fullname="$this->input" facet="protected" type="object" classname="Symfony\Component\Console\Input\ArgvInput" children="1" numchildren="6"></property><property name="output" fullname="$this->output" facet="protected" type="object" classname="Illuminate\Console\OutputStyle" children="1" numchildren="7"></property><property name="signature" fullname="$this->signature" facet="protected" type="null"></property><property name="*Symfony\Component\Console\Command\Command*application" fullname="$this->*Symfony\Component\Console\Command\Command*application" facet="private" type="object" classname="Illuminate\Console\Application" children="1" numchildren="15"></property><property name="*Symfony\Component\Console\Command\Command*processTitle" fullname="$this->*Symfony\Component\Console\Command\Command*processTitle" facet="private" type="null"></property><property name="*Symfony\Component\Console\Command\Command*aliases" fullname="$this->*Symfony\Component\Console\Command\Command*aliases" facet="private" type="array" children="0" numchildren="0"></property><property name="*Symfony\Component\Console\Command\Command*definition" fullname="$this->*Symfony\Component\Console\Command\Command*definition" facet="private" type="object" classname="Symfony\Component\Console\Input\InputDefinition" children="1" numchildren="6"></property><property name="*Symfony\Component\Console\Command\Command*help" fullname="$this->*Symfony\Component\Console\Command\Command*help" facet="private" type="null"></property><property name="*Symfony\Component\Console\Command\Command*ignoreValidationErrors" fullname="$this->*Symfony\Component\Console\Command\Command*ignoreValidationErrors" facet="private" type="bool"><![CDATA[0]]></property><property name="*Symfony\Component\Console\Command\Command*applicationDefinitionMerged" fullname="$this->*Symfony\Component\Console\Command\Command*applicationDefinitionMerged" facet="private" type="bool"><![CDATA[1]]></property><property name="*Symfony\Component\Console\Command\Command*applicationDefinitionMergedWithArgs" fullname="$this->*Symfony\Component\Console\Command\Command*applicationDefinitionMergedWithArgs" facet="private" type="bool"><![CDATA[1]]></property><property name="*Symfony\Component\Console\Command\Command*code" fullname="$this->*Symfony\Component\Console\Command\Command*code" facet="private" type="null"></property><property name="*Symfony\Component\Console\Command\Command*synopsis" fullname="$this->*Symfony\Component\Console\Command\Command*synopsis" facet="private" type="array" children="1" numchildren="2"></property><property name="*Symfony\Component\Console\Command\Command*usages" fullname="$this->*Symfony\Component\Console\Command\Command*usages" facet="private" type="array" children="0" numchildren="0"></property><property name="*Symfony\Component\Console\Command\Command*helperSet" fullname="$this->*Symfony\Component\Console\Command\Command*helperSet" facet="private" type="object" classname="Symfony\Component\Console\Helper\HelperSet" children="1" numchildren="2"></property><property name="*Symfony\Component\Console\Command\Command*name" fullname="$this->*Symfony\Component\Console\Command\Command*name" facet="private" type="string" size="20" encoding="base64"><![CDATA[bG9hZjppbXBvcnRtb2RlbGRhdGE=]]></property><property name="*Symfony\Component\Console\Command\Command*description" fullname="$this->*Symfony\Component\Console\Command\Command*description" facet="private" type="string" size="57" encoding="base64"><![CDATA[SW1wb3J0IG1vZGVsIGRhdGEgdXRpbGl6aW5nIEF1dG9EZXNrIE1vZGVsIERlcml2YXRpdmUgQVBJ]]></property></property></response>
<- launchResponse
Response {
seq: 0,
type: 'response',
request_seq: 2,
command: 'launch',
success: true }
new connection 1
<- threadEvent
ThreadEvent {
seq: 0,
type: 'event',
event: 'thread',
body: { reason: 'started', threadId: 1 } }
<- initializedEvent
InitializedEvent { seq: 0, type: 'event', event: 'initialized' }
-> setBreakpointsRequest
{ command: 'setBreakpoints',
arguments:
{ source:
{ name: 'Home.php',
path: 'D:\\phpStudy\\WWW\\loaf-coding\\src\\plugins\\ibiart\\loaf\\controllers\\Home.php' },
lines: [ 34, 240, 242 ],
breakpoints: [ { line: 34 }, { line: 240 }, { line: 242 } ],
sourceModified: false },
type: 'request',
seq: 3 }
-> setBreakpointsRequest
{ command: 'setBreakpoints',
arguments:
{ source:
{ name: 'ImportModelData.php',
path: 'D:\\phpStudy\\WWW\\loaf-coding\\src\\plugins\\ibiart\\loaf\\console\\ImportModelData.php' },
lines: [ 56, 59, 73 ],
breakpoints: [ { line: 56 }, { line: 59 }, { line: 73 } ],
sourceModified: false },
type: 'request',
seq: 4 }
<- setBreakpointsResponse
Response {
seq: 0,
type: 'response',
request_seq: 3,
command: 'setBreakpoints',
success: true,
body:
{ breakpoints:
[ { verified: true, line: 34 },
{ verified: true, line: 240 },
{ verified: true, line: 242 } ] } }
<- setBreakpointsResponse
Response {
seq: 0,
type: 'response',
request_seq: 4,
command: 'setBreakpoints',
success: true,
body:
{ breakpoints:
[ { verified: true, line: 56 },
{ verified: true, line: 59 },
{ verified: true, line: 73 } ] } }
-> setFunctionBreakpointsRequest
{ command: 'setFunctionBreakpoints',
arguments: { breakpoints: [] },
type: 'request',
seq: 5 }
<- setFunctionBreakpointsResponse
Response {
seq: 0,
type: 'response',
request_seq: 5,
command: 'setFunctionBreakpoints',
success: true,
body: { breakpoints: [] } }
-> setExceptionBreakpointsRequest
{ command: 'setExceptionBreakpoints',
arguments: { filters: [] },
type: 'request',
seq: 6 }
<- setExceptionBreakpointsResponse
Response {
seq: 0,
type: 'response',
request_seq: 6,
command: 'setExceptionBreakpoints',
success: true }
-> configurationDoneRequest
{ command: 'configurationDone', type: 'request', seq: 7 }
-> threadsRequest
{ command: 'threads', type: 'request', seq: 8 }
<- threadsResponse
Response {
seq: 0,
type: 'response',
request_seq: 8,
command: 'threads',
success: true,
body: { threads: [ Thread { id: 1, name: 'Request 1 (09:21:28)' } ] } }
-> threadsRequest
{ command: 'threads', type: 'request', seq: 9 }
<- threadsResponse
Response {
seq: 0,
type: 'response',
request_seq: 9,
command: 'threads',
success: true,
body: { threads: [ Thread { id: 1, name: 'Request 1 (09:21:28)' } ] } }
<- configurationDoneResponse
Response {
seq: 0,
type: 'response',
request_seq: 7,
command: 'configurationDone',
success: true }
<- stoppedEvent
StoppedEvent {
seq: 0,
type: 'event',
event: 'stopped',
body: { reason: 'breakpoint', threadId: 1, allThreadsStopped: false } }
-> threadsRequest
{ command: 'threads', type: 'request', seq: 10 }
<- threadsResponse
Response {
seq: 0,
type: 'response',
request_seq: 10,
command: 'threads',
success: true,
body: { threads: [ Thread { id: 1, name: 'Request 1 (09:21:28)' } ] } }
-> stackTraceRequest
{ command: 'stackTrace',
arguments: { threadId: 1, startFrame: 0, levels: 20 },
type: 'request',
seq: 11 }
<- stackTraceResponse
Response {
seq: 0,
type: 'response',
request_seq: 11,
command: 'stackTrace',
success: true,
body:
{ stackFrames:
[ { id: 1,
name: 'Ibiart\\Loaf\\Console\\ImportModelData->fire',
source:
{ name: 'ImportModelData.php',
path: 'D:\\phpStudy\\WWW\\loaf-coding\\src\\plugins\\ibiart\\loaf\\console\\ImportModelData.php' },
line: 56,
column: 1 },
{ id: 2,
name: 'call_user_func_array:{D:\\phpStudy\\WWW\\loaf-coding\\src\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php:507}',
source:
{ name: 'Container.php',
path: 'D:\\phpStudy\\WWW\\loaf-coding\\src\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php' },
line: 507,
column: 1 },
{ id: 3,
name: 'Illuminate\\Container\\Container->call',
source:
{ name: 'Container.php',
path: 'D:\\phpStudy\\WWW\\loaf-coding\\src\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php' },
line: 507,
column: 1 },
{ id: 4,
name: 'Illuminate\\Console\\Command->execute',
source:
{ name: 'Command.php',
path: 'D:\\phpStudy\\WWW\\loaf-coding\\src\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php' },
line: 150,
column: 1 },
{ id: 5,
name: 'Symfony\\Component\\Console\\Command\\Command->run',
source:
{ name: 'Command.php',
path: 'D:\\phpStudy\\WWW\\loaf-coding\\src\\vendor\\symfony\\console\\Command\\Command.php' },
line: 239,
column: 1 },
{ id: 6,
name: 'Illuminate\\Console\\Command->run',
source:
{ name: 'Command.php',
path: 'D:\\phpStudy\\WWW\\loaf-coding\\src\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php' },
line: 136,
column: 1 },
{ id: 7,
name: 'Symfony\\Component\\Console\\Application->doRunCommand',
source:
{ name: 'Application.php',
path: 'D:\\phpStudy\\WWW\\loaf-coding\\src\\vendor\\symfony\\console\\Application.php' },
line: 840,
column: 1 },
{ id: 8,
name: 'Symfony\\Component\\Console\\Application->doRun',
source:
{ name: 'Application.php',
path: 'D:\\phpStudy\\WWW\\loaf-coding\\src\\vendor\\symfony\\console\\Application.php' },
line: 190,
column: 1 },
{ id: 9,
name: 'Symfony\\Component\\Console\\Application->run',
source:
{ name: 'Application.php',
path: 'D:\\phpStudy\\WWW\\loaf-coding\\src\\vendor\\symfony\\console\\Application.php' },
line: 114,
column: 1 },
{ id: 10,
name: 'Illuminate\\Foundation\\Console\\Kernel->handle',
source:
{ name: 'Kernel.php',
path: 'D:\\phpStudy\\WWW\\loaf-coding\\src\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php' },
line: 107,
column: 1 },
{ id: 11,
name: '{main}',
source:
{ name: 'artisan',
path: 'D:\\phpStudy\\WWW\\loaf-coding\\src\\artisan' },
line: 35,
column: 1 } ] } }
-> scopesRequest
{ command: 'scopes',
arguments: { frameId: 1 },
type: 'request',
seq: 12 }
<- scopesResponse
Response {
seq: 0,
type: 'response',
request_seq: 12,
command: 'scopes',
success: true,
body:
{ scopes:
[ Scope { name: 'Locals', variablesReference: 1, expensive: false },
Scope { name: 'Superglobals', variablesReference: 2, expensive: false },
Scope {
name: 'User defined constants',
variablesReference: 3,
expensive: false } ] } }
-> variablesRequest
{ command: 'variables',
arguments: { variablesReference: 1 },
type: 'request',
seq: 13 }
<- variablesResponse
Response {
seq: 0,
type: 'response',
request_seq: 13,
command: 'variables',
success: true,
body:
{ variables:
[ { name: '$chunks',
value: 'uninitialized',
type: 'uninitialized',
variablesReference: 0 },
{ name: '$collection',
value: 'uninitialized',
type: 'uninitialized',
variablesReference: 0 },
{ name: '$data_arr',
value: 'uninitialized',
type: 'uninitialized',
variablesReference: 0 },
{ name: '$group_data',
value: 'uninitialized',
type: 'uninitialized',
variablesReference: 0 },
{ name: '$hierarchy',
value: 'array(1)',
type: 'array',
variablesReference: 4 },
{ name: '$k',
value: 'uninitialized',
type: 'uninitialized',
variablesReference: 0 },
{ name: '$key',
value: 'uninitialized',
type: 'uninitialized',
variablesReference: 0 },
{ name: '$metadata',
value: 'array(1)',
type: 'array',
variablesReference: 5 },
{ name: '$new_properties',
value: 'uninitialized',
type: 'uninitialized',
variablesReference: 0 },
{ name: '$properties',
value: 'array(1)',
type: 'array',
variablesReference: 6 },
{ name: '$result',
value: 'uninitialized',
type: 'uninitialized',
variablesReference: 0 },
{ name: '$urn',
value: '"dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bW9kZWwyMDE3LTA2LTAyLTE1LTE0LTM4LWQ0MWQ4Y2Q5OGYwMGIyMDRlOTgwMDk5OGVjZjg0MjdlLyVFNSU5QyVCMCVFNCVCOCU4QSVFNSVBRSU5RSVFOSVBQSU4QyVFNSVBRSVBNF9kZXRhY2hlZC5ydnQ"',
type: 'string',
variablesReference: 0 },
{ name: '$useful_data',
value: 'uninitialized',
type: 'uninitialized',
variablesReference: 0 },
{ name: '$v',
value: 'uninitialized',
type: 'uninitialized',
variablesReference: 0 },
{ name: '$value',
value: 'uninitialized',
type: 'uninitialized',
variablesReference: 0 },
{ name: '$this',
value: 'Ibiart\\Loaf\\Console\\ImportModelData',
type: 'object',
variablesReference: 7 } ] } }
直接修改插件文件,一般来说是~/.vscode/extensions/felixfbecker.php-debug-1.12.6/out/*.js。搜索iso-8859-1,一共两个文件各一处,替换为utf-8。不翻译了,相信楼主更能看懂。
It works!
非常感谢!
@felixfbecker
Thanks for you wonderful plugin, make php development in vscode much easier.
So, why you use iso-8859-1 instead of utf-8 as default encoding for this plugin? just for curious. :)
I changed to utf-8, because I have same problem with @leslieeilsel .
It uses iso-8859-1 because that’s what XDebug uses in the protocol… My feeling is that just changing that to UTF8 wouldn’t work in the general case. Happy to review a PR if there is a proper solution that doesn’t break anything
Most helpful comment
直接修改插件文件,一般来说是~/.vscode/extensions/felixfbecker.php-debug-1.12.6/out/*.js。搜索iso-8859-1,一共两个文件各一处,替换为utf-8。不翻译了,相信楼主更能看懂。