emarref / xdebug-bundle
Simplify the use of a debugging tool in your IDE by automatically setting/removing cookies.
This package's canonical repository appears to be gone and the package has been frozen as a result.
Installs: 166
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3
This package is auto-updated.
Last update: 2022-02-23 07:38:16 UTC
README
Simplify the use of a debugging tool in your IDE by automatically setting/removing cookies.
Installation
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require emarref/xdebug-bundle "~1.0.0"
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the development section of the app/AppKernel.php
file of your project:
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { // ... if (in_array($this->getEnvironment(), array('dev', 'test'))) { // ... $bundles[] = new Emarref\Bundle\XdebugBundle\EmarrefXdebugBundle(); } } // ... }
Step 3: Configure the bundle
Configure the bundle in your development environment. By default, the only required configuration is the IDE Key.
# app/config/config_dev.yml emarref_xdebug: debugger: idekey: MY_KEY
Full default configuration is below:
# app/config/config_dev.yml emarref_xdebug: enabled: true debugger: enabled: true idekey: <yourkey> path: / profiler: enabled: false path: / tracer: enabled: false path: /