Way to have a Console Window pop up when Debugging instead of it being internal to PHPStorm IDE?

So i love PHPStorm and use it to debug my PHP code obviously, but when i run i have to use its internal console window to debug it.  I actually have input requests that require me to type in stuff...the PhpStorm ide doesnt allow me to input.  So, for me to truly see my program in action i have to run it outside PHPStorm, but when i do i can no longer debug it. 

So is there a setting so i can force PHPStorm to popup a separate console window where my program can run and when i close then the debug stops?

0

Sorry, what do you mean by " to truly see my program in action i have to run it outside PHPStorm"?

You also can send commands using debugger console in IDE. 

0
Avatar
Permanently deleted user

Oh, i mean, when i am inside PHPStorm and debug my script i can only see its output via its "Console" tab.  That is fine and dandy, but i would prefer Windows to pop up a Command Prompt window (ie, %windir%\system32\cmd.exe) that launches and shows my script running inside it.

Currently my php script asks and waits for user input.  However, the PHPStorm's Console tab doesn't allow me to properly provide the needed input (requested by the script) since i figure this internal Command window (via PHPStorm's tab) thinks the input is to be processed by PHPStorm, not the script.  So, if i had PHPStorm just simply launch an independent command prompt window that ran my script within it i can then properly make inputs with the added benefit of debugging, hopefully.

0

Hm, that should be possible using the IDE Console tab. Is there a chance to share the project/app you're working with? Or a base/fork of it?

0

请先登录再写评论。