0.0.4 • Published 7 years ago

symfony-x-debug v0.0.4

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

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

npm.io

Hover will be shown a table with links to profiler npm.io