Open johnwarde opened 2 years ago
Thanks for the report.
I agree, debugging will be demanding. Can you help me implement verbose option? General I use in CLI tools
-v|vv|vvv Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
It can solve your problem and it will great for everyone next
Currently, I do not see an option to log progress to a text file e.g. log which files have been processed.
My scenario ...
I am executing via PHAR 1.3.2 on the current folder:
C:/xampp/php/php C:\scms\parallel-lint.phar --exclude .git .
This particular local repository it is hanging for some unknown reason. This is the output ...
The ^C is me hitting the Ctrl+C after I've waited minutes.
When I exclude the "application" folder within the repository, it completes ...
Since the tool is multi-threaded, I assume that all but one thread completes all the other files in the repository except a single file (within the "application" folder) which a single thread stalls on. From the numbers above it will be extremely time consuming to attempt to isolate a single file amongst 990 files (1169 - 179) within the application folder using multiple --exclude parameters.
By logging progress to a file per file processed, this will help isolate the offending file. Maybe logging when a file as starting processing too?