Skip to content

Debug test not stopping at breakpoints PT II #332

@aeruggiero

Description

@aeruggiero

I've just installed this extension after migrating from PHPUnit to Pest.
Even though everything else works fine, when I try to debug a test it doesn't stop at breakpoints

Image

As you can see from the picture, the xdebug starts and will close automatically at the end of the test.

The debug was working fine with PHPUnit

In launch.json I have

        {
            "name": "Listen for Xdebug",
            "type": "php",
            "request": "launch",
            "port": 9003
        },

I've set 0 here. I've also tried with 9003 and another random port.

Image

Settings in php.ini

zend_extension=xdebug
xdebug.mode=debug,develop
;xdebug.start_with_request=trigger
;xdebug.start_upon_error=yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions