Skip to content

Conversation

@mho22
Copy link
Collaborator

@mho22 mho22 commented Jul 25, 2025

Motivation for the change, related issues

Resolves the problem introduced in #2411:

The promise returned by getPHPFile() is never resolved and the PHP source code never loads in devtools

@mho22
Copy link
Collaborator Author

mho22 commented Jul 25, 2025

I was thinking of your code with type string | Promise<string> in your current wip. And it should probably be the best solution instead of using Promises where there is no means of it. I added them previoulsy to go forward in my exploration.

Are you ok with setting string | Promise<string> instead ?

@mho22 mho22 marked this pull request as draft July 25, 2025 00:40
@mho22 mho22 marked this pull request as ready for review July 25, 2025 08:14
@mho22 mho22 marked this pull request as draft July 25, 2025 08:15
@mho22 mho22 marked this pull request as ready for review July 25, 2025 08:27
@adamziel adamziel added [Type] Bug An existing feature does not function as intended XDebug labels Jul 25, 2025
@adamziel adamziel merged commit 6e72a6e into trunk Jul 25, 2025
24 of 25 checks passed
@adamziel adamziel deleted the correct-oversight-in-start-bridge branch July 25, 2025 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Bug An existing feature does not function as intended XDebug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants