VS Code Xdebugging throws DecryptException: The payload is invalid.

Posted 1 year ago by bencarter78


I've just started playing with visual studio code and am trying to set up debugging. I have successfully set it up and debugged a simple php script, however, when I try to debug my L5.4 app I get the following exception being thrown...

Illuminate\Contracts\Encryption\DecryptException: The payload is invalid.

When viewing the app in the browser (when not listening for xdebug) everything works as expected.

Any ideas why it might be getting thrown? Am I missing something in the set up?


Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.