There is an easy solution with a Firebox extension Xdebug Helper by Brian Gilbert. This sets cookies for the xdebug
session which allows you to use xdebug
within your WordPress plugins.
There are also extensions for Chrome, Safari and Opera. The links can be found on the xdebug website
Related Posts:
- Get list of scripts / styles and show file which enqueued them
- Adding callback function for wp_ajax_ has no effect
- How to debug WordPress correctly?
- Find source of notice / warning / errors efficiently
- How to debug a unit test for a WordPress plugin, which uses wordpress-test?
- WordPress debug messages not displaying
- Getting a WordPress Debug Strategy
- Unable to get a simple plugin admin page to work
- How do I debug an error that a plugin is causing?
- How do I specify where to save the debug.log?
- Problem in plugin debuging in wordpress
- How to override existing plugin action with new action
- Add custom TinyMCE 4 Button, Usable since WordPress 3.9-beta1
- How to store username and password to API in wordpress option DB?
- Which hook should be used to add an action containing a redirect?
- How to create and link to administration page for a plugin?
- What is the real intention for admin-post.php?
- Implement phpunit testing on a plugin
- How long does it take to update a plugin page from the readme.txt?
- A Post is saved twice or more during add_action(save_post)
- How to get all images and their thumbnails from wp media library
- Problems with removing admin bar
- Plugin: Relative URL to images in another folder accessed inside a JS file
- Timeout on Admin-Ajax?
- Is there a way to verified if an add_filter is already applied?
- Rearranging Dashboard meta boxes with use of plugin/functions.php
- Creating a path in a plugin to call a function
- Comment `Reply` link doesn’t work if comments are loaded from ajax
- Plugin Uninstall and Deactivate via Options Menu
- Do I have to override the wp_mail() pluggable function with writing a plugin?
- If a function requires add_action(‘init’) how can I run it only once on plugin activation?
- Ordering posts by metadata
- is_page() function doesnt working
- When I deactive WooCommerce Plugin, I want to take a action in My plugin
- Create a custom display order in the main menu
- Override the default Add/Edit site forms of the Network Panel in custom plugin
- add more custom post types and custom role to the code
- Executing a function upon webhook calling wordpress
- How to display additional info in the plugins admin table?
- A better way to include localized labels in WordPress plugins
- How a deprecated function can crash WordPress site while upgrading
- How to find error in my code when the error message is pointing to WP core file?
- Limit role to one plugin [duplicate]
- How to fix Uninitialized string offset: error on a checkbox in WP Settings API
- Saving value of a selection option in comment form as comment meta
- Is there some way to provide the user a list of existing content in a CPT
- Remove unwanted elements for a wp_nav_menu
- What is the proper method of using global $post?
- Is this best practice for Dynamically adding items to WordPress menus?
- There is a problem in the gutenberg block I developed. Problem is with withInstanceId
- how to add stylesheet to particular plugin only?
- Difference between wp_salt schemes
- How to get post content by get_posts function?
- Getting following web services error after activating the Rewards Plugin
- WordPress custom taxonomy check box to dropdown
- WordPress daily cron is executing more frequently than once a day
- How can I replace the search results displayed by WordPress?
- How to modify files inside wp-includes directory in wordpress
- Fatal error: Call to a member function get_page_permastruct() on a non-object
- What is the best way to store a few fields?
- add_submenu_page hooked function must explicitly check user capabilities – why?
- How to apply style_loader_src filter with exclusion of a specific file?
- Which is the better way to store images for the plugin?
- I18n not working in plugin
- Mixing l18n string from my plugin with WordPress’ translations
- Minimum Widget Width for Plugin Development
- Should I use wp-content/cache or [PLUGIN_DIR]/cache?
- How to resize WordPress images on upload to specific height and width without cropping it
- Get section of input passed to the sanitize_callback
- Restrict certain actions to plugin-specific admin menu pages only
- Adding tables to dashboard pages programmatically?
- how to add custom fields into new & update post page?
- Custom Endpoint – Does it possible to use PUT method with WP API Rest?
- List all user post API endpoint
- Condition to check previous next article post title
- How to know if current plugin is going to be used while rendering the page?
- Dynamically modify content added to table via javascript
- functions won’t fire after I converted my code from procedural code to OOP
- How to prevent wp_insert_post from creating a new post every second?
- Multisite and the JSON REST API: How to?
- Updating a WP Plugin SVN not showing on WordPress Website or Zip
- Download stopped working in 4.7.4
- $wpdb Mysql trigger problem
- Looping single post in a theme
- WordPress postboxes On Tabbed Views and Hiding Registered Pages
- How can I send an id over the url?
- grouping my widgets wordpress
- Creating custom Insert Media page
- Get fields of a widget
- Yet another wp_insert_post infinite loop. What is wrong?
- Initialize class inside plugin
- “Print to printer” functionality in a plugin
- How do you filter get_media_items by mime type in a custom media upload tab?
- Which subset of html does WordPress support?
- How to set init for maximum script execution, memory limit and max files upload in wordpress
- Trying to build a plugin – Cannot modify header information
- Find Any Theme’s page.php File
- WP Job Manager – Show recent jobs as cards
- Admin Menu for New Post
- multiple record insert creating many duplicate records