質問編集履歴
5
エラーログを追加しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -52,13 +52,91 @@
|
|
52
52
|
|
53
53
|
```
|
54
54
|
|
55
|
-
[3
|
55
|
+
[736] Log opened at 2020-03-22 03:48:53
|
56
56
|
|
57
|
-
[3
|
57
|
+
[736] I: Connecting to configured address/port: localhost:9000.
|
58
58
|
|
59
|
-
[3
|
59
|
+
[736] I: Connected to client. :-)
|
60
60
|
|
61
|
-
[3
|
61
|
+
[736] -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file:///C:/xampp/htdocs/info.php" language="PHP" xdebug:language_version="7.4.0" protocol_version="1.0" appid="736" idekey="vscode"><engine version="2.9.3"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2020 by Derick Rethans]]></copyright></init>
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
[736] <- breakpoint_list -i 1
|
66
|
+
|
67
|
+
[736] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="1"></response>
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
[736] <- breakpoint_set -i 2 -t line -f file:///c:/xampp/htdocs/info.php -n 2
|
72
|
+
|
73
|
+
[736] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="2" id="7360001"></response>
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
[736] <- breakpoint_list -i 3
|
78
|
+
|
79
|
+
[736] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="3"><breakpoint type="line" filename="file:///C:/xampp/htdocs/info.php" lineno="2" state="enabled" hit_count="0" hit_value="0" id="7360001"></breakpoint></response>
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
[736] <- breakpoint_list -i 4
|
84
|
+
|
85
|
+
[736] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="4"><breakpoint type="line" filename="file:///C:/xampp/htdocs/info.php" lineno="2" state="enabled" hit_count="0" hit_value="0" id="7360001"></breakpoint></response>
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
[736] <- breakpoint_set -i 5 -t exception -x *
|
90
|
+
|
91
|
+
[736] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="5" id="7360002"></response>
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
[736] <- run -i 6
|
96
|
+
|
97
|
+
[21932] Log opened at 2020-03-22 03:48:59
|
98
|
+
|
99
|
+
[21932] I: Connecting to configured address/port: localhost:9000.
|
100
|
+
|
101
|
+
[21932] I: Connected to client. :-)
|
102
|
+
|
103
|
+
[21932] -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file:///C:/xampp/htdocs/info.php" language="PHP" xdebug:language_version="7.4.0" protocol_version="1.0" appid="21932" idekey="vscode"><engine version="2.9.3"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2020 by Derick Rethans]]></copyright></init>
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
[21932] <- breakpoint_list -i 1
|
108
|
+
|
109
|
+
[21932] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="1"></response>
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
[21932] <- breakpoint_set -i 2 -t line -f file:///c:/xampp/htdocs/info.php -n 2
|
114
|
+
|
115
|
+
[21932] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="2" id="219320001"></response>
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
[21932] <- breakpoint_list -i 3
|
120
|
+
|
121
|
+
[21932] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="3"><breakpoint type="line" filename="file:///C:/xampp/htdocs/info.php" lineno="2" state="enabled" hit_count="0" hit_value="0" id="219320001"></breakpoint></response>
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
[21932] <- breakpoint_list -i 4
|
126
|
+
|
127
|
+
[21932] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="4"><breakpoint type="line" filename="file:///C:/xampp/htdocs/info.php" lineno="2" state="enabled" hit_count="0" hit_value="0" id="219320001"></breakpoint></response>
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
[21932] <- breakpoint_set -i 5 -t exception -x *
|
132
|
+
|
133
|
+
[21932] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="5" id="219320002"></response>
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
[21932] <- run -i 6
|
138
|
+
|
139
|
+
|
62
140
|
|
63
141
|
```
|
64
142
|
|
4
エラーログを追加しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
```
|
20
20
|
|
21
|
-
apacheのエラーログは次のようでした
|
21
|
+
追記)apacheのエラーログは次のようでした
|
22
22
|
|
23
23
|
```
|
24
24
|
|
@@ -48,7 +48,19 @@
|
|
48
48
|
|
49
49
|
```
|
50
50
|
|
51
|
+
追記)Xdebugのエラーログ
|
51
52
|
|
53
|
+
```
|
54
|
+
|
55
|
+
[3100] Log opened at 2020-03-21 17:31:00
|
56
|
+
|
57
|
+
[3100] I: Connecting to configured address/port: localhost:9000.
|
58
|
+
|
59
|
+
[3100] E: Time-out connecting to client (Waited: 200 ms). :-(
|
60
|
+
|
61
|
+
[3100] Log closed at 2020-03-21 17:31:01
|
62
|
+
|
63
|
+
```
|
52
64
|
|
53
65
|
どうにかしてXdebugを利用する方法はないのでしょうか。また、代替手段などはありますでしょうか。
|
54
66
|
|
@@ -62,4 +74,4 @@
|
|
62
74
|
|
63
75
|
Xdebug installed: 2.9.3
|
64
76
|
|
65
|
-
Windows10 1903
|
77
|
+
Windows10 Version1903
|
3
エラーログを追加しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,6 +18,36 @@
|
|
18
18
|
|
19
19
|
```
|
20
20
|
|
21
|
+
apacheのエラーログは次のようでした
|
22
|
+
|
23
|
+
```
|
24
|
+
|
25
|
+
[Sun Mar 22 02:03:58.550064 2020] [mpm_winnt:notice] [pid 2848:tid 672] AH00428: Parent: child process 22792 exited with status 3221225477 -- Restarting.
|
26
|
+
|
27
|
+
[Sun Mar 22 02:03:59.341158 2020] [mpm_winnt:notice] [pid 2848:tid 672] AH00455: Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.3 configured -- resuming normal operations
|
28
|
+
|
29
|
+
[Sun Mar 22 02:03:59.342102 2020] [mpm_winnt:notice] [pid 2848:tid 672] AH00456: Apache Lounge VC15 Server built: Aug 11 2019 12:20:04
|
30
|
+
|
31
|
+
[Sun Mar 22 02:03:59.342102 2020] [core:notice] [pid 2848:tid 672] AH00094: Command line: 'c:\xampp\apache\bin\httpd.exe -d C:/xampp/apache'
|
32
|
+
|
33
|
+
[Sun Mar 22 02:03:59.486067 2020] [mpm_winnt:notice] [pid 2848:tid 672] AH00418: Parent: Created child process 23152
|
34
|
+
|
35
|
+
[Sun Mar 22 02:04:04.231064 2020] [mpm_winnt:notice] [pid 23152:tid 912] AH00354: Child: Starting 150 worker threads.
|
36
|
+
|
37
|
+
[Sun Mar 22 02:04:10.230065 2020] [mpm_winnt:notice] [pid 2848:tid 672] AH00428: Parent: child process 23152 exited with status 3221225477 -- Restarting.
|
38
|
+
|
39
|
+
[Sun Mar 22 02:04:11.018061 2020] [mpm_winnt:notice] [pid 2848:tid 672] AH00455: Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.3 configured -- resuming normal operations
|
40
|
+
|
41
|
+
[Sun Mar 22 02:04:11.019062 2020] [mpm_winnt:notice] [pid 2848:tid 672] AH00456: Apache Lounge VC15 Server built: Aug 11 2019 12:20:04
|
42
|
+
|
43
|
+
[Sun Mar 22 02:04:11.019062 2020] [core:notice] [pid 2848:tid 672] AH00094: Command line: 'c:\xampp\apache\bin\httpd.exe -d C:/xampp/apache'
|
44
|
+
|
45
|
+
[Sun Mar 22 02:04:11.149060 2020] [mpm_winnt:notice] [pid 2848:tid 672] AH00418: Parent: Created child process 20748
|
46
|
+
|
47
|
+
[Sun Mar 22 02:04:15.529059 2020] [mpm_winnt:notice] [pid 20748:tid 812] AH00354: Child: Starting 150 worker threads.
|
48
|
+
|
49
|
+
```
|
50
|
+
|
21
51
|
|
22
52
|
|
23
53
|
どうにかしてXdebugを利用する方法はないのでしょうか。また、代替手段などはありますでしょうか。
|
2
補足の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
PHPのデバッグをできる環境構築をするため、xdebugを設定しようと思いました。
|
5
|
+
windows10でPHPのデバッグをできる環境構築をするため、xdebugを設定しようと思いました。
|
6
6
|
|
7
7
|
ただし、xdebugを入れた後からlocalhost経由でアクセスするたびにエラーになってしまい、「接続がリセットされました」と表示され、Apacheが再起動しているようです。
|
8
8
|
|
1
補足を追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -31,3 +31,5 @@
|
|
31
31
|
PHP Version: 7.4.3
|
32
32
|
|
33
33
|
Xdebug installed: 2.9.3
|
34
|
+
|
35
|
+
Windows10 1903
|