Skip to content

Commit

Permalink
Merge pull request #1100 from ctam/patch-1
Browse files Browse the repository at this point in the history
Specify value for XDEBUG_PROFILE in profiling page
  • Loading branch information
sarjona authored Aug 16, 2024
2 parents 7adaba1 + a3cacf1 commit 8d2001b
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 8d2001b

Please sign in to comment.