CodeLobster IDE
http://codelobster.com/forum/

wordpress debug help
http://codelobster.com/forum/viewtopic.php?f=3&t=24632
Page 1 of 1

Author:  cutemonster [ Sun Jul 07, 2019 7:05 am ]
Post subject:  wordpress debug help

I'm using WampServer and virtual host.
Wordpress Project.

My project settings is

Path: C:\projects\WEb\lobster\lobster.clppj
URL for debug: http://lobster.cow
project home URL: http://lobster.cow

When I click debug Home URL, nothing happens.
No browser being opened and doesn't hit break point.

Can you tell me what I should do?

thanks,

Author:  cutemonster [ Sun Jul 07, 2019 7:25 am ]
Post subject:  Re: wordpress debug help

I actually find out I don't have my default browser set up.
After set up the default browser, it brings up the browser.

However, the debug still not working. Please Help.

Author:  Admin [ Sun Jul 07, 2019 2:48 pm ]
Post subject:  Re: wordpress debug help

Hi.

Please, send us output of the following PHP script:

Code:
<?php
print(phpinfo (INFO_ALL));
?>


Thanks,
Codelobster Team.

Author:  cutemonster [ Sun Jul 07, 2019 9:32 pm ]
Post subject:  Re: wordpress debug help

Hi there,
please see attached php_info

or my OneDrive link

https://1drv.ms/u/s!ArxWjraJiukmhoxPjaA ... w?e=0Qw0Gx


thanks!

Author:  Admin [ Mon Jul 08, 2019 9:05 am ]
Post subject:  Re: wordpress debug help

Hi.

1) Do You use Codelobster IDE or Codelobster PHP Edition?

2) What is your default browser?

Thanks,
Codelobster Team.

Author:  cutemonster [ Mon Jul 08, 2019 4:43 pm ]
Post subject:  Re: wordpress debug help

I can get the IDE to work now.

However, I cannot get the Codelobster PHP edition to work.
When I create a new project, i got an error:
Cannot execute installation script
Check your project URL

My project URL is lobster.cow (virtual host)

So I used IDE to create a Wordpress project.
After a few tries, I can get the IDE to stop at a breakpoint.
However PHP edition still doesn't work even I use the same project file created from IDE.

I have a professional version of PHP version and I hope I can get it work.

I'm using Chrome.

thanks,

Author:  Admin [ Tue Jul 09, 2019 3:39 pm ]
Post subject:  Re: wordpress debug help

Hi.

Codelobster IDE and Codelobster PHP Edition debug PHP code by different ways.
Codelobster IDE uses xDebug, but Codelobster PHP Edition uses own dll.

So to work on Codelobster PHP Edition You should comment xDebug lines in your php.ini file and install own debugger from the Preferences.

All other values are:

virtual folder: C:\wamp64\www
virtual host: http://localhost
Path to php.ini: C:\wamp64\bin\apache\apache2.4.35\bin\php.ini
php version: PHP_7.1.x_VC14_x64_Thread_Safe

Regards,
Codelobster Team.

Author:  cutemonster [ Wed Jul 10, 2019 5:54 am ]
Post subject:  Re: wordpress debug help

Thank You!

I finally get the php version to work.

Can you tell me where the Continue button for Debug is?
I only see Step Out and Step Into but no Continue.

Can you tell me how I can use existing Wordpress project instead of creating an Empty Project?

thanks!

Author:  Admin [ Wed Jul 10, 2019 6:49 am ]
Post subject:  Re: wordpress debug help

Hi.

1) You should press F5 to run code untill next breakpoint.

2) You should open foder with your WordPress project only (create new project and select this folder)
and enter Project URL in the Project Properties if You are going to debug it.

Regards,
Codelobster Team.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/