View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001336||Xdebug||Remote Debugging||public||2016-08-11 07:59||2016-08-15 09:04|
|Platform||phpStorm 2016.2||OS||Windows||OS Version||10|
|Target Version||Fixed in Version|
|Summary||0001336: xdebug won't attacht for PHP Scripts started via Windows Taskmanager|
I hope I'm at the right place.
I am scheduling php tasks at *.bat files with the Windows Taskmanager "schtasks".
When I call the batch file manually, xdebug in phpStorm works like a charm.
But when the batch file is executed via the taskmanager, nothing happens.
I guess this is an issue of xdebug, isn't it?
|Steps To Reproduce||schtasks /create /sc ONCE /tr "[MY_SCRIPT]" /tn "[PID]" /st 10:00:00 /sd 01/01/1970|
schtasks /run /tn "[PID]"
|Tags||No tags attached.|
|Operating System||Windows 10|
Sorry, I know nothing about Windows. The only things I can guess is - permissions. The TaskManager might not be able to start things that open TCP connections or something. I think you'd be better off talking to PhpStorm support, as they are much better at debugging client side stuff like this.
I'm leaving this suspended — if PhpStorm support says there is a real bug, please reopen - recomment to this issue.