Skip to content

[XDebug bridge] $this contains superglobals when breakpoint is in the method context #2752

@adamziel

Description

@adamziel

Describe the bug

Image

Expected behavior

$this should contain class instance properties

Actual behavior

$this should contain superglobals and globals but no class instance properties

Steps to reproduce

Run this command and set a breakpoint in any class method:

node --experimental-strip-types --experimental-transform-types --disable-warning=ExperimentalWarning --import ./packages/meta/src/node-es-module-loader/register.mts ./packages/playground/cli/src/cli.ts server --login --xdebug --experimental-devtools

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions