View Issue Details

IDProjectCategoryView StatusLast Update
0002300XdebugStep Debuggingpublic2024-10-22 17:15
Reporterlenoko Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0002300: How to remove extra logs from debugging in Docker/VSCODE ?
Description

When using it through docker:

[xdebug]
zend_extension=xdebug

xdebug.mode=develop,debug
xdebug.discover_client_host=1
xdebug.client_host = "host.docker.internal"
xdebug.idekey="VSCODE"
xdebug.client_port = 9003
xdebug.start_with_request=yes
xdebug.log='/var/logs/xdebug/xdebug.log'
xdebug.log_level=3
xdebug.connect_timeout_ms=2000

on every action, there are tons of logs outputed in VSCODE>Debug window, like:

<- setBreakpointsResponse
Response {
  seq: 0,
  type: 'response',
  request_seq: 14,
  command: 'setBreakpoints',
  success: true,
  body:
   { breakpoints:
      [ { verified: false,
          line: 645,
          source:
          ...

xd(1) <- breakpoint_remove -i 17 -d 210006
xd(1) -> <?xml version="1.0" encoding="iso-8859-1"?><response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_remove" transaction_id="17"><breakpoint type="line"

a huge amount of logs, and even simple print(whatever) is followed such massive logs pre/after, and it's hard to actually read Debug window there.
how can we disable all those extra logs and only enable logging what's necessary (like it's in nodejs debugger, only executed commands (which are run from the bottom exec line of Vscode>Debug window)

TagsNo tags attached.
Operating System
PHP Version8.3.5-8.3.9

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-10-22 17:15 lenoko New Issue