PHPstorm console input not working during debug sessions

前端 未结 2 1648
清歌不尽
清歌不尽 2021-01-05 08:54

I\'m using a PHP script which expects user input from a command like fgets(STDIN). The problem is it no longer works in the newest version of PHPStorm (10).

2条回答
  •  攒了一身酷
    2021-01-05 09:49

    John's answer is perfect. I want to mention that the Use Console Input is a tiny icon in sidebar of the debug console. I provide you by this image

提交回复
热议问题