Post by fatih97 » Sat Feb 11, 2023 11:39 pm

Hello, I'm trying to use xdebug for opencart 4.x version. But I couldn't succeed somehow.

I am using mamp server on macos.
My code editor is vscode.

xdebug says it uses port 9003 after version 3 and my configuration file for vscode debug is as follows.

Code: Select all

{
            "name": "Listen for Xdebug",
            "type": "php",
            "request": "launch",
            "port": 9003,
            "log": true
        },

I start debug. I make a request. the request comes immediately in the call stack, but it is not processed, it falls into timeout after a while. I checked the logs but there seems to be no problem.
Can you help me??



xdebug.log

Code: Select all

[42759] Log opened at 2023-02-11 15:26:52.449916
[42759] [Step Debug] INFO: Connecting to configured address/port: localhost:9003.
[42759] [Step Debug] INFO: Connected to debugging client: localhost:9003 (through xdebug.client_host/xdebug.client_port). :-)
[42759] [Step Debug] -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file:///Users/xxx/Desktop/opencart.nosync/httpdocs/index.php" language="PHP" xdebug:language_version="8.1.13" protocol_version="1.0" appid="42759"><engine version="3.1.6"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2022 by Derick Rethans]]></copyright></init>

[42759] [Step Debug] <- feature_set -i 1 -n resolved_breakpoints -v 1
[42759] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="1" feature="resolved_breakpoints" success="1"></response>

[42759] [Step Debug] <- feature_set -i 2 -n notify_ok -v 1
[42759] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="2" feature="notify_ok" success="1"></response>

[42759] [Step Debug] <- feature_set -i 3 -n extended_properties -v 1
[42759] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="3" feature="extended_properties" success="1"></response>

[42759] [Step Debug] <- feature_get -i 4 -n breakpoint_include_return_value
[42759] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="4" feature_name="breakpoint_include_return_value" supported="0"><![CDATA[0]]></response>

[42759] [Step Debug] <- feature_set -i 5 -n max_children -v 100
[42759] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="5" feature="max_children" success="1"></response>

Newbie

Posts

Joined
Fri Mar 22, 2019 5:45 am

Post by cedcommerceteam » Fri Mar 10, 2023 10:09 pm

Hello

We have successfully upgraded the new version to Opencart 4 with no error. If any help required we will provide upgrade the store. Thanks

Call us at : (+91) -8765210318 , Skype: live:carlmorgan.cedcommerce , Email: support@cedcommerce.com
CedCommerece : Officail Opencart Partners
CedCommerce Official : www.cedcommerce.com
Opencart Services : www.cedcommerce/opencart-services.com
Sell On various Marketplace Integration : Opencart-Extensions
Magenative Mobile App/IOS Development : magenative.com
Webinar : Power up Your holiday season marketing with the Automation tool


User avatar
Active Member

Posts

Joined
Wed Aug 09, 2017 9:02 pm
Who is online

Users browsing this forum: No registered users and 169 guests