質問編集履歴

1

追記

2018/03/08 05:55

投稿

nullbot
nullbot

スコア910

test CHANGED
File without changes
test CHANGED
@@ -209,3 +209,441 @@
209
209
 
210
210
 
211
211
  /var/log/xdebug にはログは出力されていませんでした。9000番ポートが開いてないかと思い、9010番に変更しましたが駄目。コマンドプロンプト, WSL上でnetcatを使った疎通では通信できていました。
212
+
213
+
214
+
215
+ ##追記
216
+
217
+ launch.jsonに"log":trueを加えてログを出しました。
218
+
219
+ ```
220
+
221
+ <- launchResponse
222
+
223
+ Response {
224
+
225
+ seq: 0,
226
+
227
+ type: 'response',
228
+
229
+ request_seq: 2,
230
+
231
+ command: 'launch',
232
+
233
+ success: true }
234
+
235
+
236
+
237
+ new connection 1
238
+
239
+ <- threadEvent
240
+
241
+ ThreadEvent {
242
+
243
+ seq: 0,
244
+
245
+ type: 'event',
246
+
247
+ event: 'thread',
248
+
249
+ body: { reason: 'started', threadId: 1 } }
250
+
251
+
252
+
253
+ <- initializedEvent
254
+
255
+ InitializedEvent { seq: 0, type: 'event', event: 'initialized' }
256
+
257
+
258
+
259
+ -> threadsRequest
260
+
261
+ { command: 'threads', type: 'request', seq: 3 }
262
+
263
+
264
+
265
+ <- threadsResponse
266
+
267
+ Response {
268
+
269
+ seq: 0,
270
+
271
+ type: 'response',
272
+
273
+ request_seq: 3,
274
+
275
+ command: 'threads',
276
+
277
+ success: true,
278
+
279
+ body: { threads: [ Thread { id: 1, name: 'Request 1 (14:50:12)' } ] } }
280
+
281
+
282
+
283
+ -> setBreakpointsRequest
284
+
285
+ { command: 'setBreakpoints',
286
+
287
+ arguments:
288
+
289
+ { source:
290
+
291
+ { name: 'Reserve.php',
292
+
293
+ path: 'c:\Users\nullbot\ubuntu\www\apps\application\modules\admin\controllers\Reserve.php' },
294
+
295
+ lines: [ 16 ],
296
+
297
+ breakpoints: [ { line: 16 } ],
298
+
299
+ sourceModified: false },
300
+
301
+ type: 'request',
302
+
303
+ seq: 4 }
304
+
305
+
306
+
307
+ <- setBreakpointsResponse
308
+
309
+ Response {
310
+
311
+ seq: 0,
312
+
313
+ type: 'response',
314
+
315
+ request_seq: 4,
316
+
317
+ command: 'setBreakpoints',
318
+
319
+ success: true,
320
+
321
+ body: { breakpoints: [ { verified: true, line: 16 } ] } }
322
+
323
+
324
+
325
+ -> setFunctionBreakpointsRequest
326
+
327
+ { command: 'setFunctionBreakpoints',
328
+
329
+ arguments: { breakpoints: [] },
330
+
331
+ type: 'request',
332
+
333
+ seq: 5 }
334
+
335
+
336
+
337
+ <- setFunctionBreakpointsResponse
338
+
339
+ Response {
340
+
341
+ seq: 0,
342
+
343
+ type: 'response',
344
+
345
+ request_seq: 5,
346
+
347
+ command: 'setFunctionBreakpoints',
348
+
349
+ success: true,
350
+
351
+ body: { breakpoints: [] } }
352
+
353
+
354
+
355
+ -> setExceptionBreakpointsRequest
356
+
357
+ { command: 'setExceptionBreakpoints',
358
+
359
+ arguments: { filters: [] },
360
+
361
+ type: 'request',
362
+
363
+ seq: 6 }
364
+
365
+
366
+
367
+ <- setExceptionBreakpointsResponse
368
+
369
+ Response {
370
+
371
+ seq: 0,
372
+
373
+ type: 'response',
374
+
375
+ request_seq: 6,
376
+
377
+ command: 'setExceptionBreakpoints',
378
+
379
+ success: true }
380
+
381
+
382
+
383
+ -> configurationDoneRequest
384
+
385
+ { command: 'configurationDone', type: 'request', seq: 7 }
386
+
387
+
388
+
389
+ -> threadsRequest
390
+
391
+ { command: 'threads', type: 'request', seq: 8 }
392
+
393
+
394
+
395
+ <- threadsResponse
396
+
397
+ Response {
398
+
399
+ seq: 0,
400
+
401
+ type: 'response',
402
+
403
+ request_seq: 8,
404
+
405
+ command: 'threads',
406
+
407
+ success: true,
408
+
409
+ body: { threads: [ Thread { id: 1, name: 'Request 1 (14:50:12)' } ] } }
410
+
411
+
412
+
413
+ <- configurationDoneResponse
414
+
415
+ Response {
416
+
417
+ seq: 0,
418
+
419
+ type: 'response',
420
+
421
+ request_seq: 7,
422
+
423
+ command: 'configurationDone',
424
+
425
+ success: true }
426
+
427
+
428
+
429
+ <- threadEvent
430
+
431
+ ThreadEvent {
432
+
433
+ seq: 0,
434
+
435
+ type: 'event',
436
+
437
+ event: 'thread',
438
+
439
+ body: { reason: 'exited', threadId: 1 } }
440
+
441
+
442
+
443
+ new connection 2
444
+
445
+ <- threadEvent
446
+
447
+ ThreadEvent {
448
+
449
+ seq: 0,
450
+
451
+ type: 'event',
452
+
453
+ event: 'thread',
454
+
455
+ body: { reason: 'started', threadId: 2 } }
456
+
457
+
458
+
459
+ <- initializedEvent
460
+
461
+ InitializedEvent { seq: 0, type: 'event', event: 'initialized' }
462
+
463
+
464
+
465
+ -> threadsRequest
466
+
467
+ { command: 'threads', type: 'request', seq: 9 }
468
+
469
+
470
+
471
+ <- threadsResponse
472
+
473
+ Response {
474
+
475
+ seq: 0,
476
+
477
+ type: 'response',
478
+
479
+ request_seq: 9,
480
+
481
+ command: 'threads',
482
+
483
+ success: true,
484
+
485
+ body: { threads: [ Thread { id: 2, name: 'Request 2 (14:50:12)' } ] } }
486
+
487
+
488
+
489
+ -> setBreakpointsRequest
490
+
491
+ { command: 'setBreakpoints',
492
+
493
+ arguments:
494
+
495
+ { source:
496
+
497
+ { name: 'Reserve.php',
498
+
499
+ path: 'c:\Users\nullbot\ubuntu\www\apps\application\modules\admin\controllers\Reserve.php' },
500
+
501
+ lines: [ 16 ],
502
+
503
+ breakpoints: [ { line: 16 } ],
504
+
505
+ sourceModified: false },
506
+
507
+ type: 'request',
508
+
509
+ seq: 10 }
510
+
511
+
512
+
513
+ <- setBreakpointsResponse
514
+
515
+ Response {
516
+
517
+ seq: 0,
518
+
519
+ type: 'response',
520
+
521
+ request_seq: 10,
522
+
523
+ command: 'setBreakpoints',
524
+
525
+ success: true,
526
+
527
+ body: { breakpoints: [ { verified: true, line: 16 } ] } }
528
+
529
+
530
+
531
+ -> setFunctionBreakpointsRequest
532
+
533
+ { command: 'setFunctionBreakpoints',
534
+
535
+ arguments: { breakpoints: [] },
536
+
537
+ type: 'request',
538
+
539
+ seq: 11 }
540
+
541
+
542
+
543
+ <- setFunctionBreakpointsResponse
544
+
545
+ Response {
546
+
547
+ seq: 0,
548
+
549
+ type: 'response',
550
+
551
+ request_seq: 11,
552
+
553
+ command: 'setFunctionBreakpoints',
554
+
555
+ success: true,
556
+
557
+ body: { breakpoints: [] } }
558
+
559
+
560
+
561
+ -> setExceptionBreakpointsRequest
562
+
563
+ { command: 'setExceptionBreakpoints',
564
+
565
+ arguments: { filters: [] },
566
+
567
+ type: 'request',
568
+
569
+ seq: 12 }
570
+
571
+
572
+
573
+ <- setExceptionBreakpointsResponse
574
+
575
+ Response {
576
+
577
+ seq: 0,
578
+
579
+ type: 'response',
580
+
581
+ request_seq: 12,
582
+
583
+ command: 'setExceptionBreakpoints',
584
+
585
+ success: true }
586
+
587
+
588
+
589
+ -> configurationDoneRequest
590
+
591
+ { command: 'configurationDone', type: 'request', seq: 13 }
592
+
593
+
594
+
595
+ -> threadsRequest
596
+
597
+ { command: 'threads', type: 'request', seq: 14 }
598
+
599
+
600
+
601
+ <- threadsResponse
602
+
603
+ Response {
604
+
605
+ seq: 0,
606
+
607
+ type: 'response',
608
+
609
+ request_seq: 14,
610
+
611
+ command: 'threads',
612
+
613
+ success: true,
614
+
615
+ body: { threads: [ Thread { id: 2, name: 'Request 2 (14:50:12)' } ] } }
616
+
617
+
618
+
619
+ <- configurationDoneResponse
620
+
621
+ Response {
622
+
623
+ seq: 0,
624
+
625
+ type: 'response',
626
+
627
+ request_seq: 13,
628
+
629
+ command: 'configurationDone',
630
+
631
+ success: true }
632
+
633
+
634
+
635
+ <- threadEvent
636
+
637
+ ThreadEvent {
638
+
639
+ seq: 0,
640
+
641
+ type: 'event',
642
+
643
+ event: 'thread',
644
+
645
+ body: { reason: 'exited', threadId: 2 } }
646
+
647
+
648
+
649
+ ```