Xdebug Key 4+

Php debugging [for safari‪]‬, jazz media pty ltd.

  • 5.0 • 2 Ratings

Screenshots

Description.

A Safari extension to enable PHP debugging from Safari 12 and later, using Xdebug. This extension creates a single toolbar button in Safari windows, which enables (or disables) debugging on a per-domain basis. You can customise the IDE Key from the Application's preferences window (eg. for MacGDBp, Komodo, or Eclipse). The second screenshot shows a debugging session using MacGDBp, highlighting the Safari Toolbar item (circled). Requirements: You must have Xdebug correctly installed in your web-server. Details about Xdebug can be found at xdebug.org. If you have a feature request or bug to report, please use the support link instead of leaving a comment. In this way we can better communicate with you to resolve the issue. By all means leave a comment afterwards. Thank you.

Version 1.0.3

Improved performance. Bug fixes.

Ratings and Reviews

It just works.

This was a simple yet effective extension, works as advertised!

App Privacy

The developer, Jazz Media Pty Ltd , indicated that the app’s privacy practices may include handling of data as described below. For more information, see the developer’s privacy policy .

Data Not Collected

The developer does not collect any data from this app.

Privacy practices may vary, for example, based on the features you use or your age. Learn More

Information

  • App Support
  • Privacy Policy

More By This Developer

Volume Remote

Remote for VLC

EyeTV Remote

DEV Community

DEV Community

ScriptMint

Posted on Nov 28, 2022

Installing Xdebug 3 on MacOS and Debug in VS Code

I always found setting up xdebug as one of the most difficult job. but today, i did it under 5 minutes..

Hi, I am a Full Stack Developer working with Laravel, Vue.js & Tailwind CSS.

If you don't use right tool for debugging, you may end up spending your whole day by doing nothing.

How do you debug your code in PHP? Do you use var_dump or dd in Laravel? Many of us also use logger to log output & figure out the problem in multiple steps. Spatie built a debugging tool called Ray that one can use to simplify the operation over dd or logger.

I like to debug Laravel application with Xdebug. Xdebug is an extension for PHP, and provides a range of features to improve the PHP development experience.

Today after I reset my MacBook, I had to setup Xdebug and I did the installation under 5 minutes. So I thought to write a blog explaining how easy it is to setup Xdebug.

Earlier, whenever I used to install Xdebug, I had to look for multiple articles to make it work. Let me clarify, you don't need any Chrome Extension and also you don't need too much configurations. Its super simple.

I use Homebrew to install various packages on my MacBook. I have already installed PHP 8.1 using homebrew by running below command:

Next, you need to install Xdebug PHP Extension which you can install using below command.

My MacBook Setup for Development! Read this article here .

Next, you must enable this extension in your php.ini file. To enable it, locate the php.ini file location. In my case it is located under /usr/local/etc/php directory.

You can either edit your php.ini file and add some config option for Xdebug or create a separate config file for this extension. I choose to go with second option and created a file called ext-xdebug.ini under /usr/local/etc/php/conf.d directory. You just need to put below config in this ext-xdebug.ini file.

If you wish edit your php.ini file, you can put these lines at the bottom.

Restart the PHP service using brew command:

Next, you can run php --version command to check if shows Xdebug extension.

PHP with Xdebug

Alternatively, You can call phpinfo function in any PHP file and it should show Xdebug related information.

PHPInfo with Xdebug

Next, Open VS Code & Install PHP Debug Extension.

PHP Debug

Now, open your project in VS Code, create launch.json config file under .vscode directory with following content:

This is project specific setting which you need to do in every project wherever you wish to debug your application using Xdebug.

By default Xdebug is listening to port 9003 as you can see in the VS Code PHP Debug extension.

That's all you need to do. Its super simple.

Now its time to debug your application. Open any PHP file, put a breakpoint, press F5 to start debugging and navigate to your browser. You will be redirected back to the VS Code at the same line where you put a breakpoint.

Here, I opened Laravel's web.php file and put a breakpoint. Here is the screenshot of debugging:

Live Debugging

You can use the control buttons to perform various moves.

I love code debugging using Xdebug. It can save your precious time & also improves the productivity.

Top comments (1)

pic

Templates let you quickly answer FAQs or store snippets for re-use.

rafaelneves profile image

  • Joined Dec 12, 2023

Congratulations on the article!

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink .

Hide child comments as well

For further actions, you may consider blocking this person and/or reporting abuse

uche_azubuko profile image

How to Upload Files With Vanilla JavaScript and Add a Loading Animation

Uchechukwu Azubuko - Aug 2

asfiaaiman profile image

Understanding Props in Vue.js: A Beginner's Guide for Laravel Developers

Asfia Aiman - Aug 2

numanijaz_47 profile image

dev tools inpect elements

numan ijaz - Jun 29

doozieakshay profile image

Using php7-mysql-shim to Address `mysql_*` Function Compatibility in PHP 7

Akshay Joshi - Aug 2

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Xdebug Key / Xdebug Helper

A Safari extension to enable PHP debugging from Safari 12.

Xdebug Helper is a Safari Extension. It comes bundled inside the application called Xdebug Key . The application is available on the App Store .

Behaviour

Installation

  • Move the application Xdebug Key into your computer's Applications folder
  • Run the application
  • Optionally change the IDE Key to match your Xdebug configuration
  • Enable the Xdebug Helper extension from within Safari's Preferences

You may then quit the Xdebug Key application, but it is important to keep it in the Applications folder.

Run the application again if you need to change the IDE Key.

Please note, I cannot offer support for Xdebug. Support can be found on their webpage at xdebug.org . I am not an expert on Xdebug. However should you find an issue with this Safari Extension please contact me.

Xdebug Helper and Xdebug Key do not collect or transmit any information about the user, your web browsing activity (including history) nor your use of the extension. Xdebug Helper communicates only with the Xdebug extension (ie. web server) to enable or disable debugging.

PhpStorm 2024.2 Help

Browser debugging extensions.

In order to start debugging, you first need to activate the debugger engine on the server. To do this, you need to set a special GET/POST or COOKIE parameter (for more information, refer to the Xdebug and Zend Debugger official documentation). While you can do it manually, it is more convenient to use a browser extension, which lets you enable the debugger with a single click.

The following table lists the available debugging extensions.

Configure Xdebug Helper for Chrome

Install the Xdebug helper extension for Chrome from the Chrome Web Store .

Initiate connection from the browser side. Click the Xdebug Helper icon on the browser toolbar to initiate a debugging, profiling or tracing session:

Xdebug helper in Chrome

As a rule, no further configuration is required. If necessary, you can explore additional settings by right-clicking the Xdebug Helper icon and choosing Options from the context menu.

Xdebug helper settings

Configure Zend Debugger Toolbar for Firefox

Install Zend Debugger Toolbar .

In the browser, click the Zend Debugger icon on the toolbar and select Settings . Make sure that Autodetect is selected, and the Broadcasting port value matches the value set for Settings broadcasting port on the PHP | Debug page of settings  Ctrl+Alt+S .

Zend debugger extension in Firefox

Initiate connection from the browser side. Click the Zend Debugger icon on the browser toolbar to initiate a debugging or profiling session:

Zend debugger extension settings

  • My extensions & themes
  • Developer Dashboard
  • Give feedback

Item logo image for Xdebug helper

Xdebug helper

430 ratings

Easy debugging, profiling and tracing extension for Xdebug

A must have for everyone thats debugging, profiling and tracing PHP code with Xdebug. This extension will help you to enable/disable debugging, profiling and tracing easily, instead of juggling around with POST/GET variables or cookies. This extension is very useful for PHP developers that are using PHP tools with Xdebug support like PHPStorm, Eclipse with PDT, Netbeans and MacGDBp or any other Xdebug compatible profiling tool like KCacheGrind, WinCacheGrind or Webgrind. By default the extension icon will show up on all pages, but to keep your browser as clean as possible, the extension can be configured to be only visible at the pages you want in the settings panel. Hotkeys: - Ctrl+Shift+X (Cmd+Shift+X on Mac) opens the popup. - Alt+Shift+X toggles the debugging state. --- Feel free to submit ideas, bugs and pull request to our Github project: https://github.com/wrep/xdebug-helper-for-chrome

4.4 out of 5 430 ratings Google doesn't verify reviews. Learn more about results and reviews.

Review's profile picture

Pavel Besedovskij Apr 22, 2024

Latest version of chrome on Windows is with JS error. I had to clear the cookies to make sites working without XDEBUG Seems like the issue is due to wrong implementation of this method https://developer.chrome.com/docs/extensions/reference/api/tabs#method-sendMessage - it accepts 4 arguments, with a callback as the last one, while in extension it is 3rd argument: // Request the current state from the active tab chrome.tabs.query({ active: true, windowId: chrome.windows.WINDOW_ID_CURRENT }, f... Show more

Review's profile picture

Omer Šabić Feb 3, 2024

Works without any problem on Linux + Brave + PhpStorm with Xdebug 3.2.1.

Review's profile picture

Lee McCall Aug 7, 2022

The profiler works for me using xdebug 3.1.5 and PHP 8.1.9. If its not working for you, maybe you don't have your xdebug settings configured correctly.

  • Version 1.6.1
  • Updated October 24, 2016
  • Report a concern
  • Offered by Wrep
  • Size 70.13KiB
  • Languages English
  • Non-trader This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

xdebug safari extension

Xdebug helper

Description.

Xdebug is an extension for PHP , and provides a range of features to improve the PHP development experience.

  • #001 . Native Xdebug Path Mapping 101.8 % Raised

See all projects

Announcements

  • 2024-05-31 - Xdebug 3.4.0alpha1 is out!
  • 2024-04-15 - Xdebug 3.3.2 is out!
  • 2023-12-14 - Xdebug 3.3.1 is out!
  • 2023-11-30 - Xdebug 3.3.0 is out!
  • 2023-10-19 - Xdebug 3.3.0alpha3 is out!

See all announcements

Xdebug is made possible through the generous support of Xdebug's business-tier sponsors:

  • REWE Digital GmbH
  • Bubble Shooter

You can also be listed as a supporter by signing up for a Business package.

Navigation Menu

Search code, repositories, users, issues, pull requests..., provide feedback.

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly.

To see all available qualifiers, see our documentation .

  • Notifications You must be signed in to change notification settings

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 16.04: some containers not restarting after reboot #4603

@bscheshirwork

bscheshirwork commented Mar 10, 2017 • edited Loading

@shin-

shin- commented Mar 10, 2017

Sorry, something went wrong.

@shin-

bscheshirwork commented Mar 10, 2017

@bscheshirwork

No branches or pull requests

@shin-

IMAGES

  1. XDebug Extension Options

    xdebug safari extension

  2. Mac install extensions xdebug

    xdebug safari extension

  3. Mac install extensions xdebug

    xdebug safari extension

  4. Enable xdebug extension on PHP Apps in Windows for Performance

    xdebug safari extension

  5. Xdebug helper :: My Extensions

    xdebug safari extension

  6. How to Install, Manage, and Delete Safari Extensions

    xdebug safari extension

VIDEO

  1. did you know about the Amazon’s Outlet Store?! the deals are insane! #AmazonFinds #ShoppingHacks

  2. How to Use the Recipe Gallery Safari Extension

  3. How to debug your Angular app with Chrome dev tools

  4. Maasai Mara

  5. How to disable Tin Safari extension?

  6. iPhone Safari Hacks You Didn't Know Existed! #iphone

COMMENTS

  1. XDebug Helper for Safari

    Stable version: Go to the Safari Extension Gallery and look for "Xdebug Helper" in the "Developer" category. Alternatively, download the latest version and open the file to install it in Safari. Development version: Download the source from GitHub and load the extension into the extensionbuilder yourself so you can

  2. Xdebug: Documentation » Step Debugging

    The extensions are: Xdebug Helper for Firefox . Xdebug Helper for Chrome . XDebugToggle for Safari . Xdebug Helper for Microsoft Edge . Each extension adds an icon to your browser where you can select which functionality you want to trigger. Xdebug will continue to start debugging for every request as long as the debug toggle has been enabled.

  3. ‎Xdebug Key on the Mac App Store

    A Safari extension to enable PHP debugging from Safari 12 and later, using Xdebug. This extension creates a single toolbar button in Safari windows, which enables (or disables) debugging on a per-domain basis. You can customise the IDE Key from the Application's preferences window (eg. for MacGDBp, Komodo, or Eclipse). The second screenshot ...

  4. Xdebug: Documentation » Profiling

    The Chrome, Firefox, and Safari extensions that can be used to enable the step debugger (see HTTP Debug Sessions) can also be used with this setting. Xdebug adds the HTTP header X-Xdebug-Profile-Filename to a request that is being profiled. This header contains the name of the file that holds the profiling information for that request.

  5. kampfq/SafariXDebugToggle: Toggle XDebug in Safari 12 and beyond

    Toggle XDebug in Safari 12 and beyond Get it on the Mac AppStore. website. Motivation. Before macOS Mojave i used XDebug Helper. But old extensions are disabled in Safari 12. Installation: Open Safari and go to Preferences; Go to Extensions; Enable SafariXDebug 4. Click the Icon in the Toolbar; Third Party Content: Icon: https://svgsilh.com ...

  6. How to enable XDebug extension on my php?

    It successfully uses OSX Mountain Lion's native Apache2 and XDebug together with MacGDBp and a Safari extension called XDebug Helper. Share. Improve this answer. Follow edited Mar 13, 2013 at 3:56. Praveen Vinny. 2,400 6 6 gold badges 33 33 silver badges 40 40 bronze badges.

  7. Installing Xdebug 3 on MacOS and Debug in VS Code

    I like to debug Laravel application with Xdebug. Xdebug is an extension for PHP, and provides a range of features to improve the PHP development experience. Today after I reset my MacBook, I had to setup Xdebug and I did the installation under 5 minutes. So I thought to write a blog explaining how easy it is to setup Xdebug.

  8. Xdebug: Downloads

    Xdebug 3.4.0alpha1. Release date: 2024-05-31. Linux, macOS: source; Command Line Debug Client. A lightweight debugging client, mainly used for debugging the DBGp implementation with Xdebug. It can show raw protocol information. This binary may be used free of charge, but as-is and without warranty. Source code will be available in the future.

  9. Xdebug Helper for Safari

    A Safari extension to enable PHP debugging from Safari 12. Xdebug Helper is a Safari Extension. It comes bundled inside the application called Xdebug Key. The application is available on the App Store. Preferences window Installation. Move the application Xdebug Key into your computer's Applications folder; Run the application; Optionally ...

  10. Configure Xdebug

    Configure Xdebug Download Xdebug. Download the Xdebug extension compatible with your PHP version and install it as described in the Xdebug installation guide.. Xdebug 3 brings performance improvements, simplified configuration, and PHP 8 support. To learn more on upgrading to Xdebug 3, refer to the Upgrade guide.. If you are using a preconfigured AMP (Apache, MySQL, PHP) package, the Xdebug ...

  11. Browser debugging extensions

    Browser debugging extensions. In order to start debugging, you first need to activate the debugger engine on the server. To do this, you need to set a special GET/POST or COOKIE parameter (for more information, refer to the Xdebug and Zend Debugger official documentation). While you can do it manually, it is more convenient to use a browser extension, which lets you enable the debugger with a ...

  12. Xdebug helper

    By default the extension icon will show up on all pages, but to keep your browser as clean as possible, the extension can be configured to be only visible at the pages you want in the settings panel. Hotkeys: - Ctrl+Shift+X (Cmd+Shift+X on Mac) opens the popup. - Alt+Shift+X toggles the debugging state. --- Feel free to submit ideas, bugs and ...

  13. Xdebug helper

    Description. Debugging, profiling and tracing PHP code with Xdebug https://xdebug.org is very powerful, but enabling Xdebug with cookies or adding POST/GET variables is cumbersome This extension will help you to enable/disable debugging, profiling and tracing easily. Report abuse.

  14. Xdebug

    Xdebug is an extension for PHP, and provides a range of features to improve the PHP development experience. A way to step through your code in your IDE or editor while the script is executing. Writes every function call, with arguments and invocation location to disk. Optionally also includes every variable assignment and return value for each ...

  15. The Emperor Machine

    SINCHI EXCLUSIVE♫ Info + Buy ♫ - https://www.sinchi-collective.com/moscow-not-safari-version-54/'Moscow Not Safari' landed in March on Skint and was jam pack...

  16. php

    1) phpinfo() -- this will show you all the extensions that are loaded, including xDebug. If it is there, then it's a safe bet that it's working. 2) If that isn't good enough for you, you can try using the var_dump() function. xDebug modifies the output of var_dump() to include additional information.

  17. Safari Pearl moves into new location

    Moscow comic book and game shop Safari Pearl has moved from its longtime location and now operates on 660 W. Pullman Road.Kathy Sprague and Tabitha Simmons,…

  18. Ubuntu 16.04: some containers not restarting after reboot #4603

    Saved searches Use saved searches to filter your results more quickly

  19. php

    Find your php.ini and look for XDebug.. Set xdebug autostart to false. xdebug.remote_autostart=0 xdebug.remote_enable=0 Disable your profiler. xdebug.profiler_enable=0 Note that there can be a performance loss even with xdebug disabled but loaded.To disable loading of the extension itself, you need to comment it in your php.ini. Find an entry looking like this:

  20. Moscow Not Safari (Version 54)

    Provided to YouTube by BMG Rights Management (UK) LimitedMoscow Not Safari (Version 54) · The Emperor MachineMoscow Not Safari℗ 2020 BMG Rights Management (U...

  21. php

    7. perform php --ini to check witch config file is loaded. if you have something like this : Loaded Configuration File: (none) Scan for additional .ini files in: (none) Additional .ini files parsed: (none) Just copy your php.ini in windows directory ;) answered Feb 16, 2011 at 1:16. Androideur.