Giter Club home page Giter Club logo

Comments (9)

he426100 avatar he426100 commented on June 20, 2024 1

wsl2 docker 调试 hyperf 没问题,启动命令加上 -e 就行了

from yasd.

1242048704 avatar 1242048704 commented on June 20, 2024

yasd配置
vscode配置
建立连接1
建立连接2

from yasd.

1242048704 avatar 1242048704 commented on June 20, 2024

建立连接3

from yasd.

1242048704 avatar 1242048704 commented on June 20, 2024

求教作者大大及路人大佬们🙏🙏🙏

from yasd.

huanghantao avatar huanghantao commented on June 20, 2024

先尝试下单个脚本,比如一个test.php文件。看看能否用上,然后再运用到框架里面。

from yasd.

he426100 avatar he426100 commented on June 20, 2024
php --ri yasd

yasd

Yasd => enabled
Author => codinghuang <[email protected]>
Version => 0.3.9-alpha
Built => Apr 20 2022 15:59:59

Directive => Local Value => Master Value
yasd.breakpoints_file => no value => no value
yasd.debug_mode => remote => remote
yasd.remote_host => host.docker.internal => host.docker.internal
yasd.remote_port => 9000 => 9000
yasd.depth => 1 => 1
yasd.log_level => -1 => -1
yasd.max_executed_opline_num => 0 => 0
yasd.init_file => no value => no value
yasd.open_extended_info => 0 => 0
xdebug.coverage_enable => 1 => 1
xdebug.profiler_enable => 1 => 1
xdebug.remote_autostart => 1 => 1
xdebug.remote_connect_back => 0 => 0
xdebug.remote_mode => req => req

launch.json

{
    // 使用 IntelliSense 了解相关属性。 
    // 悬停以查看现有属性的描述。
    // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Listen for XDebug",
            "type": "php",
            "request": "launch",
            "port": 9000
        },
        {
            "name": "Launch currently open script",
            "type": "php",
            "request": "launch",
            "program": "${file}",
            "cwd": "${fileDirname}",
            "port": 9000
        }
    ]
}

from yasd.

imbian avatar imbian commented on June 20, 2024

你的wwwroot目录是不是软连接过去的?

from yasd.

huanghantao avatar huanghantao commented on June 20, 2024

你的wwwroot目录是不是软连接过去的?

不要使用软连接,目前调试不了软连接的目录

from yasd.

1242048704 avatar 1242048704 commented on June 20, 2024

谢谢大佬们,已解决

from yasd.

Related Issues (20)

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.