symfony-x-debug

0.0.4 • Public • Published

Symfony-x-debug

Simple JavaScript utility for displaying links to x-debug-profiler in Symfony requests.

If you are creating a SPA then a standard line profiler of symfony is not available

This problem is solved Symfony-x-debug

Install with npm or Yarn:

npm:

npm install symfony-x-debug --save

Yarn:

yarn add symfony-x-debug

Usage

With ES5

var xDebug = require('symfony-x-debug');

With ES6

import 'symfony-x-debug';

With Webpack

// webpack.config.js
// append symfony-x-debug to entries list
const entriesClient = {
  app: [
    'symfony-x-debug',
    path.join(jsSrcPath, '/app.jsx'),
  ],
};

Symfony-x-debug to add popup window with the number of asynchronous requests to the server

Hover will be shown a table with links to profiler

Readme

Keywords

none

Package Sidebar

Install

npm i symfony-x-debug

Weekly Downloads

2

Version

0.0.4

License

ISC

Last publish

Collaborators

  • isychev