Giter Club home page Giter Club logo

Comments (3)

weirdan avatar weirdan commented on September 23, 2024

Idea: Allow invoking psalm with xdebug enabled so that we can debug codeception tests. This is very helpful for me while writing new functionality in the laravel plugin.

Have you tried running your test suite as PSALM_ALLOW_XDEBUG=1 vendor/bin/codecept run? Environment is inherited by child processes by default, so this variable should be available to Psalm as well.

I think we will also need to set vendor/vimeo/psalm/src/psalm.php as the psalm path, instead of just vendor/bin/psalm

Why?

from codeception-psalm-module.

weirdan avatar weirdan commented on September 23, 2024

/ping @mr-feek

from codeception-psalm-module.

mr-feek avatar mr-feek commented on September 23, 2024

You know what, simply invoking PSALM_ALLOW_XDEBUG=1 vendor/bin/codecept run seems to work fine for me now. I think I went too far down the rabbit hole trying to figure out what was wrong before I found I needed PSALM_ALLOW_XDEBUG=1 altogether.

from codeception-psalm-module.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.