View Issue Details

IDProjectCategoryView StatusLast Update
0002302XdebugStep Debuggingpublic2024-11-27 15:52
ReporterKraftsman Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status feedbackResolutionopen 
PlatformLinuxOSPop OS OS Version22.04
Product Version3.3.2 
Summary0002302: "Unknown sourceReference 0" when setting conditional breakpoints
Description

I'm setting up Xdebug with appwrite running in docker locally. I have followed all the docs and set up the configurations appropriately and can confirm Xdebug works.
However, when I try to set conditional breakpoints of any kind, VScode returns an "Unknown sourceReference 0".

I am unsure if this is a bug or if it's just my dummy self-doing something wrong.

Any help/assistance will be appreciated.

NB: I am new to Xdebug/Debuggers in general.

Steps To Reproduce
  • Start the debugger extension to listen for Xdebug.
  • Start the appwrite containers to establish a connection to the client host and port
  • Proceed to set a conditional breakpoint.
  • VScode returns Unknown sourceReference 0
Tagsbreakpoint, debug, vscode
Operating SystemPop OS 22.04
PHP Version8.3.0-8.3.4

Activities

derick

2024-11-27 15:52

administrator   ~0007087

Hi,

I don't know what "appwrite" is.

Could you perhaps create a dump of the protocol communications? For Xdebug you can create that by setting xdebug.log=/tmp/xdebug.log (make sure you can read it outside the Docker container) and xdebug.log_level=11. For VS Code, you can do that by setting "log": true in your launch.json and observe Debug Console panel.

cheers,
Derick

Issue History

Date Modified Username Field Change
2024-10-29 14:08 Kraftsman New Issue
2024-10-29 14:08 Kraftsman Tag Attached: breakpoint
2024-10-29 14:08 Kraftsman Tag Attached: debug
2024-10-29 14:08 Kraftsman Tag Attached: vscode
2024-11-27 15:52 derick Assigned To => derick
2024-11-27 15:52 derick Status new => feedback
2024-11-27 15:52 derick Note Added: 0007087