What issue or error are you experiencing?
When I try to turn on Xdebug, the site fails to restart. The following stacktrace is displayed in a popup dialog along with the “Uh oh!” message:
TypeError: Cannot convert undefined or null to object
at Object.entries ()
at PortsService. (/Applications/Local.app/Contents/Resources/app.asar/main/sites/PortsService.js:107:62)
at Generator.next ()
at /Applications/Local.app/Contents/Resources/app.asar/main/sites/PortsService.js:8:71
at new Promise ()
at __awaiter (/Applications/Local.app/Contents/Resources/app.asar/main/sites/PortsService.js:4:12)
at PortsService.checkAndReplaceUnavailablePorts (/Applications/Local.app/Contents/Resources/app.asar/main/sites/PortsService.js:101:16)
at SiteProcessManagerService. (/Applications/Local.app/Contents/Resources/app.asar/main/sites/SiteProcessManagerService.js:272:57)
at Generator.next ()
at fulfilled (/Applications/Local.app/Contents/Resources/app.asar/main/sites/SiteProcessManagerService.js:5:58)
What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc
Create a new site.
Try to enable the Xdebug with the switch provided.
System Details
-
Local Version:
Version 9.2.4+6788 -
Operating System (OS) and OS version:
Mac OS Sequoia 15.4.1
Local Logs
Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
local-logs.zip (1.3 MB)
Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.