Skip to content

Commit

Permalink
[docs] Specify value for XDEBUG_PROFILE in profiling page
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 and sarjona committed Aug 16, 2024
1 parent f3c1aaa commit a3cacf1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/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
4 changes: 2 additions & 2 deletions versioned_docs/version-4.3/guides/profiling/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,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
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 a3cacf1

Please sign in to comment.