Hi,
Yes, that's how it should be.
We have added a few more checks so the error will be reported in detail, and debugging will be canceled with an error message.
A side note - if you're debugging a console program or starting our built-in server, you can remove the "port" launch setting so PHP Tools will find a free port automatically.