相关疑难解决方法(0)

无法在Laravel项目中使用Visual Code进行调试

我在VSCode上用PHP调试配置成功.

我的问题是当我运行项目时,它总是在函数中出错:

protected function getJsonPayload($payload)
{
    $payload = json_decode(base64_decode($payload), true);

    // If the payload is not valid JSON or does not have the proper keys set we will
    // assume it is invalid and bail out of the routine since we will not be able
    // to decrypt the given value. We'll also check the MAC for this encryption.
    if (! $this->validPayload($payload)) {
        throw new DecryptException('The payload is invalid.');
    }

    if (! $this->validMac($payload)) {
        throw new DecryptException('The MAC is invalid.'); …
Run Code Online (Sandbox Code Playgroud)

php debugging laravel visual-studio-code

6
推荐指数
2
解决办法
2968
查看次数

标签 统计

debugging ×1

laravel ×1

php ×1

visual-studio-code ×1