View Issue Details

IDProjectCategoryView StatusLast Update
0001336XdebugStep Debuggingpublic2016-08-15 09:04
ReporterSirRichard Assigned Toderick  
Status resolvedResolutionsuspended 
PlatformphpStorm 2016.2OSWindowsOS Version10
Product Version2.4.0 
Summary0001336: 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?

Best regards

Steps To Reproduce

schtasks /create /sc ONCE /tr "[MY_SCRIPT]" /tn "[PID]" /st 10:00:00 /sd 01/01/1970

schtasks /run /tn "[PID]"

TagsNo tags attached.
Operating SystemWindows 10
PHP Version5.4.30-5.4.34



2016-08-15 09:04

administrator   ~0003677

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.

Issue History

Date Modified Username Field Change
2016-08-11 07:59 SirRichard New Issue
2016-08-15 09:04 derick Note Added: 0003677
2016-08-15 09:04 derick Status new => resolved
2016-08-15 09:04 derick Resolution open => suspended
2016-08-15 09:04 derick Assigned To => derick
2020-03-12 16:33 derick Category Remote Debugging => Step Debugging