phpstorm hyperf 单元测试 yasd debug 断点调试
一、 环境说明我是本地Mac 环境配置yasd安装教程可以查看,=> yasd安装教程我安装的yasd 版本:releases v0.3.9版本虚拟机或者docker 配置原理一样配置一下远程CLI
顺晟科技
2021-07-01 13:32:10
352
https://psysh.org/
https://github.com/bobthecow/...
使用wget安装
$ wget https://git.io/psysh
$ chmod +x psysh
$ ./psysh
使用composer安装
$ composer g require psy/psysh:@stable
$ psysh
wtf 打印最近的错误提示
history 显示执行命令
clear 清除命令
doc 显示函数使用文档
dump 打印变量
ls 显示变量
show 显示函数 常量 类 方法
doc命令使用的时候需要安装文件到本地
PsySH的文档存放在~/.local/share/psysh/
。(windows系统存放在C:\Users\{用户名}\AppData\Roaming\PsySH\
)
$ cd ~/.local/share
$ mkdir psysh
$ cd psydh
$ wget http://psysh.org/manual/zh/php_manual.sqlite
Osx ~/.config/psysh/config.php
(or C:\Users\{USER}\AppData\Roaming\PsySH\config.php
on Windows).
<?php
return [
'commands' => [
new \Psy\Command\ParseCommand,
],
'defaultIncludes' => [
__DIR__ . '/include/bootstrap.php', //这里可以加载自己平时常用的类库
],
'startupMessage' => sprintf('<info>%s</info>', shell_exec('uptime')),
];
<img src='/uploads/image/210701/下载 (2).png' alt='下载(2)' style="zoom:50%;" />
25
2022-10
23
2022-03
15
2021-09
01
2021-07
28
2021-06
25
2021-06