Feature #39648

Configurable CLI Subrequest environment variables

Added by Sebastian Kurfuerst almost 3 years ago. Updated almost 3 years ago.

Status:Resolved Start date:2012-08-09
Priority:Should have Due date:
Assigned To:Sebastian Kurfuerst % Done:

100%

Category:-
Target version:TYPO3 Flow Base Distribution - 1.1
PHP Version: Complexity:
Has patch:No

Description

When debugging with xdebug, a major difficulty is that in development and
functional tests, there are always two requests being executed: The main request
and a CLI request inside.

Now, most IDEs do not support the (optional) feature of multi-threaded PHP debugging,
effectively stopping the sub-request and also the main request in this case.

With this feature it's possible to change the XDEBUG remote port from 9000 to 9001, so that the subrequest can be debugged by listening on port 9001.

Associated revisions

Revision cfa70692
Added by Sebastian Kurfuerst almost 3 years ago

[FEATURE] Configurable CLI Subrequest environment variables

When debugging with xdebug, a major difficulty is that in development
and functional tests, there are always two requests being executed:
The main request and a CLI request inside.

Now, most IDEs do not support the (optional) feature of multi-threaded
PHP debugging, effectively stopping the sub-request and also the main
request in this case.

With this change it's possible to change xdebug configuration settings
for the CLI subrequests making it possible to debug them individually.
By default the remote port is now changed from 9000 to 9001 in
Development and Testing context. So you can debug the subrequest by
configuring your IDE to listen on port 9001.

Apart from that, this change allows you to set arbitrary environment
variables by adding entries to the
TYPO3.FLOW3.core.subRequestEnvironmentVariables setting.

Releases: 1.1, 1.2
Resolves: #39648

Change-Id: I83a60e8c730f58bc17e2df5f86e99d19bc7d553b

Revision b7b5dfdb
Added by Sebastian Kurfuerst almost 3 years ago

[FEATURE] Configurable CLI Subrequest environment variables

When debugging with xdebug, a major difficulty is that in development
and functional tests, there are always two requests being executed:
The main request and a CLI request inside.

Now, most IDEs do not support the (optional) feature of multi-threaded
PHP debugging, effectively stopping the sub-request and also the main
request in this case.

With this change it's possible to change xdebug configuration settings
for the CLI subrequests making it possible to debug them individually.
By default the remote port is now changed from 9000 to 9001 in
Development and Testing context. So you can debug the subrequest by
configuring your IDE to listen on port 9001.

Apart from that, this change allows you to set arbitrary environment
variables by adding entries to the
TYPO3.FLOW3.core.subRequestEnvironmentVariables setting.

Releases: 1.1, 1.2
Resolves: #39648

Change-Id: I83a60e8c730f58bc17e2df5f86e99d19bc7d553b

History

#1 Updated by Gerrit Code Review almost 3 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13540

#2 Updated by Gerrit Code Review almost 3 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13540

#3 Updated by Bastian Waidelich almost 3 years ago

  • Tracker changed from Bug to Feature
  • Subject changed from Make debugging using xdebug easier to Configurable CLI Subrequest environment variables

#4 Updated by Gerrit Code Review almost 3 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13540

#5 Updated by Sebastian Kurfuerst almost 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#6 Updated by Gerrit Code Review almost 3 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch FLOW3-1.1 has been pushed to the review server.
It is available at http://review.typo3.org/13621

#7 Updated by Sebastian Kurfuerst almost 3 years ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF