Unable to view output if Start option is used
2 posts
• Page 1 of 1
Unable to view output if Start option is used
Hello,
I have created a test project using the 'PHP Console Project' option.
If I used the 'Start Debugging' option, the command prompt will briefly appear before disappearing, thus unable to view any output.
However, if I used Start without Debugging, the command prompt will display the output without closing automatically.
Is this the intended behavior?
Or is there something that needs to be configured to get this working correctly?
Thanks!
I have created a test project using the 'PHP Console Project' option.
If I used the 'Start Debugging' option, the command prompt will briefly appear before disappearing, thus unable to view any output.
However, if I used Start without Debugging, the command prompt will display the output without closing automatically.
Is this the intended behavior?
Or is there something that needs to be configured to get this working correctly?
Thanks!
- Mikhail
- Posts: 1
- Joined: July 3rd, 2018, 1:36 pm
Re: Unable to view output if Start option is used
Hi, this is the normal behavior of any console application. If you want to read some output while debugging, you can put breakpoint there or some function that would wait for user input and block until user enters it. For example readline("Press any key to continue...");
I hope this explains it, have a nice day!
I hope this explains it, have a nice day!
Maroš Beňo
-
maros.beno - Posts: 62
- Joined: October 12th, 2016, 12:11 pm
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 115 guests