Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
Specify the value for `XDEBUG_PROFILE` param to solve this issue: The trigger value '', as set through 'XDEBUG_PROFILE', did not match the shared secret (xdebug.trigger_value) for mode 'profile'.
  • Loading branch information
ctam authored Aug 13, 2024
1 parent f3c1aaa commit 58312f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions versioned_docs/version-4.4/guides/profiling/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ xdebug.trigger_value = ProfileMe

:::

When using a trigger to start xdebug, open any php page on your server in your browser having added `XDEBUG_PROFILE` parameter to URL string, for example `http://servername/moodle2/index.php?XDEBUG_PROFILE`.
When using a trigger to start xdebug, open any php page on your server in your browser having added `XDEBUG_PROFILE` parameter to URL string, for example `http://servername/moodle2/index.php?XDEBUG_PROFILE=ProfileMe`.

If that page already has some parameters, just add our trigger to the URL end, for example: `http://servername/moodle2/mod/forum/view.php?id=5&XDEBUG_PROFILE`.
If that page already has some parameters, just add our trigger to the URL end, for example: `http://servername/moodle2/mod/forum/view.php?id=5&XDEBUG_PROFILE=ProfileMe`.

The profile should be generated in the directory you specified with `xdebug.output_dir` directive:

Expand Down

0 comments on commit 58312f1

Please sign in to comment.