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
npm:
npm install symfony-x-debug --save
Yarn:
yarn add symfony-x-debug
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