swoole / yasd

Yet Another Swoole Debugger
https://huanghantao.github.io/yasd-wiki/
Apache License 2.0
357 stars 35 forks source link

Where is breakpoints_file #39

Closed ChanJuiHuang closed 3 years ago

ChanJuiHuang commented 3 years ago

Hi, I want to find the breakpoints_file when I use vscode. I try to set absolutely path, but I didn't find the file. Please help me!

This is my set and my folder permission is 777. yasd.breakpoints_file="/home/<path>/yasd.log"

huanghantao commented 3 years ago

Hello, there is no support for the specified directory, only in the current directory cache. We will support it in v0.3.0.

ChanJuiHuang commented 3 years ago

If I use IDE mode, could I find the break point file? Thanks!

sy-records commented 3 years ago

This file currently only supports cmd mode

huanghantao commented 3 years ago

If I use IDE mode, could I find the break point file? Thanks!

I don't think the IDE is necessary to support breakpoint files, because the IDE itself will save the breakpoints.

So, the IDE mode does not generate breakpoints files

ChanJuiHuang commented 3 years ago

Thanks, I know your logic^^

huanghantao commented 3 years ago

Caching breakpoints at specified directory is supported.