Xdebug not working over DrushCan Xdebug be triggered by Drush commands?Drush enable module | not working | Drupal 7 on WAMP with PostgreSQLUnable to debug drush command using xdebug with batch apiDrush MAMP not workingHow to get drush to work with xdebug — may have recently brokenDrush 8 hangs with any command'Could not find the alias' error after installing drush alias for PantheonDrush 8x working from directories above web root, but not in web rootDrush 9.2 - not working well / not installing with Composersql:sync not working
How was the murder committed?
Co-workers with a lot of money and openly talk about it
What is a "soap"?
Human with super efficient metabolism
How can God warn people of the upcoming rapture without disrupting society?
Will using a resistor in series with a LED to control its voltage increase the total energy expenditure?
Crippling fear of hellfire &, damnation, please help?
How can I communicate my issues with a potential date's pushy behavior?
Running code generated in realtime in JavaScript with eval()
Letting unbanned users comment
When did Bilbo and Frodo learn that Gandalf was a Maia?
Do beef farmed pastures net remove carbon emissions?
Why aren’t there water shutoff valves for each room?
How should I write this passage to make it the most readable?
What kind of liquid can be seen 'leaking' from the upper surface of the wing of a Boeing 737-800?
Did Pope Urban II issue the papal bull "terra nullius" in 1095?
How does the Athlete Feat affect the Ravnica Centaur playable race?
"Mouth-breathing" as slang for stupidity
Why is there a large performance impact when looping over an array over 240 elements?
Why is there a dummy union member in some implemetations of std::optional?
Identifying My Main Water Shutoff Valve / Setup
Why aren't rockets built with truss structures inside their fuel & oxidizer tanks to increase structural strength?
graphs in latex
Why did IBM make the PC BIOS source code public?
Xdebug not working over Drush
Can Xdebug be triggered by Drush commands?Drush enable module | not working | Drupal 7 on WAMP with PostgreSQLUnable to debug drush command using xdebug with batch apiDrush MAMP not workingHow to get drush to work with xdebug — may have recently brokenDrush 8 hangs with any command'Could not find the alias' error after installing drush alias for PantheonDrush 8x working from directories above web root, but not in web rootDrush 9.2 - not working well / not installing with Composersql:sync not working
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm using Drupal VM and the Drush Launcher (0.6.0). Whenever I try to Xdebug, PhpStorm notices, but it never actually reaches my Drush command. It stops at running Drush. This seems to have started recently.
My command looks like:
XDEBUG_CONFIG="remote_enable=On remote_connect_back=Off remote_host=192.168.90.1" PHP_IDE_CO
NFIG="serverName=example.wizonesolutions.com" drush -l example.com module:custom-command
drush
add a comment |
I'm using Drupal VM and the Drush Launcher (0.6.0). Whenever I try to Xdebug, PhpStorm notices, but it never actually reaches my Drush command. It stops at running Drush. This seems to have started recently.
My command looks like:
XDEBUG_CONFIG="remote_enable=On remote_connect_back=Off remote_host=192.168.90.1" PHP_IDE_CO
NFIG="serverName=example.wizonesolutions.com" drush -l example.com module:custom-command
drush
add a comment |
I'm using Drupal VM and the Drush Launcher (0.6.0). Whenever I try to Xdebug, PhpStorm notices, but it never actually reaches my Drush command. It stops at running Drush. This seems to have started recently.
My command looks like:
XDEBUG_CONFIG="remote_enable=On remote_connect_back=Off remote_host=192.168.90.1" PHP_IDE_CO
NFIG="serverName=example.wizonesolutions.com" drush -l example.com module:custom-command
drush
I'm using Drupal VM and the Drush Launcher (0.6.0). Whenever I try to Xdebug, PhpStorm notices, but it never actually reaches my Drush command. It stops at running Drush. This seems to have started recently.
My command looks like:
XDEBUG_CONFIG="remote_enable=On remote_connect_back=Off remote_host=192.168.90.1" PHP_IDE_CO
NFIG="serverName=example.wizonesolutions.com" drush -l example.com module:custom-command
drush
drush
asked 9 hours ago
wizonesolutionswizonesolutions
1,1341 gold badge8 silver badges23 bronze badges
1,1341 gold badge8 silver badges23 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
From https://github.com/drush-ops/drush-launcher#xdebug-compatibility:
Drush Launcher, like Composer automatically disables Xdebug by default. This improves performance substantially. You may override this feature by setting an environment variable.
DRUSH_ALLOW_XDEBUG=1 drush [command]
So to make Xdebug reach the rest of your code, add DRUSH_ALLOW_XDEBUG=1 to the environment variables in front of your command.
Would you mind editing to tag with ddev as well, maybe also mention how to do it in ddev web container? You don't need all thatXDEBUG_CONFIG="remote_enable=On remote_connect_back=Off remote_host=192.168.90.1" PHP_IDE_CO NFIG="serverName=example.wizonesolutions.com" drush -l example.com module:custom-commandin general do you? Just the remote_anable=On?
– rfay
7 hours ago
This one isn't ddev, as it was a Drupal VM setup. So I did need that, as it doesn't work the same way :)
– wizonesolutions
7 hours ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "220"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdrupal.stackexchange.com%2fquestions%2f284421%2fxdebug-not-working-over-drush%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
From https://github.com/drush-ops/drush-launcher#xdebug-compatibility:
Drush Launcher, like Composer automatically disables Xdebug by default. This improves performance substantially. You may override this feature by setting an environment variable.
DRUSH_ALLOW_XDEBUG=1 drush [command]
So to make Xdebug reach the rest of your code, add DRUSH_ALLOW_XDEBUG=1 to the environment variables in front of your command.
Would you mind editing to tag with ddev as well, maybe also mention how to do it in ddev web container? You don't need all thatXDEBUG_CONFIG="remote_enable=On remote_connect_back=Off remote_host=192.168.90.1" PHP_IDE_CO NFIG="serverName=example.wizonesolutions.com" drush -l example.com module:custom-commandin general do you? Just the remote_anable=On?
– rfay
7 hours ago
This one isn't ddev, as it was a Drupal VM setup. So I did need that, as it doesn't work the same way :)
– wizonesolutions
7 hours ago
add a comment |
From https://github.com/drush-ops/drush-launcher#xdebug-compatibility:
Drush Launcher, like Composer automatically disables Xdebug by default. This improves performance substantially. You may override this feature by setting an environment variable.
DRUSH_ALLOW_XDEBUG=1 drush [command]
So to make Xdebug reach the rest of your code, add DRUSH_ALLOW_XDEBUG=1 to the environment variables in front of your command.
Would you mind editing to tag with ddev as well, maybe also mention how to do it in ddev web container? You don't need all thatXDEBUG_CONFIG="remote_enable=On remote_connect_back=Off remote_host=192.168.90.1" PHP_IDE_CO NFIG="serverName=example.wizonesolutions.com" drush -l example.com module:custom-commandin general do you? Just the remote_anable=On?
– rfay
7 hours ago
This one isn't ddev, as it was a Drupal VM setup. So I did need that, as it doesn't work the same way :)
– wizonesolutions
7 hours ago
add a comment |
From https://github.com/drush-ops/drush-launcher#xdebug-compatibility:
Drush Launcher, like Composer automatically disables Xdebug by default. This improves performance substantially. You may override this feature by setting an environment variable.
DRUSH_ALLOW_XDEBUG=1 drush [command]
So to make Xdebug reach the rest of your code, add DRUSH_ALLOW_XDEBUG=1 to the environment variables in front of your command.
From https://github.com/drush-ops/drush-launcher#xdebug-compatibility:
Drush Launcher, like Composer automatically disables Xdebug by default. This improves performance substantially. You may override this feature by setting an environment variable.
DRUSH_ALLOW_XDEBUG=1 drush [command]
So to make Xdebug reach the rest of your code, add DRUSH_ALLOW_XDEBUG=1 to the environment variables in front of your command.
answered 9 hours ago
wizonesolutionswizonesolutions
1,1341 gold badge8 silver badges23 bronze badges
1,1341 gold badge8 silver badges23 bronze badges
Would you mind editing to tag with ddev as well, maybe also mention how to do it in ddev web container? You don't need all thatXDEBUG_CONFIG="remote_enable=On remote_connect_back=Off remote_host=192.168.90.1" PHP_IDE_CO NFIG="serverName=example.wizonesolutions.com" drush -l example.com module:custom-commandin general do you? Just the remote_anable=On?
– rfay
7 hours ago
This one isn't ddev, as it was a Drupal VM setup. So I did need that, as it doesn't work the same way :)
– wizonesolutions
7 hours ago
add a comment |
Would you mind editing to tag with ddev as well, maybe also mention how to do it in ddev web container? You don't need all thatXDEBUG_CONFIG="remote_enable=On remote_connect_back=Off remote_host=192.168.90.1" PHP_IDE_CO NFIG="serverName=example.wizonesolutions.com" drush -l example.com module:custom-commandin general do you? Just the remote_anable=On?
– rfay
7 hours ago
This one isn't ddev, as it was a Drupal VM setup. So I did need that, as it doesn't work the same way :)
– wizonesolutions
7 hours ago
Would you mind editing to tag with ddev as well, maybe also mention how to do it in ddev web container? You don't need all that
XDEBUG_CONFIG="remote_enable=On remote_connect_back=Off remote_host=192.168.90.1" PHP_IDE_CO NFIG="serverName=example.wizonesolutions.com" drush -l example.com module:custom-command in general do you? Just the remote_anable=On?– rfay
7 hours ago
Would you mind editing to tag with ddev as well, maybe also mention how to do it in ddev web container? You don't need all that
XDEBUG_CONFIG="remote_enable=On remote_connect_back=Off remote_host=192.168.90.1" PHP_IDE_CO NFIG="serverName=example.wizonesolutions.com" drush -l example.com module:custom-command in general do you? Just the remote_anable=On?– rfay
7 hours ago
This one isn't ddev, as it was a Drupal VM setup. So I did need that, as it doesn't work the same way :)
– wizonesolutions
7 hours ago
This one isn't ddev, as it was a Drupal VM setup. So I did need that, as it doesn't work the same way :)
– wizonesolutions
7 hours ago
add a comment |
Thanks for contributing an answer to Drupal Answers!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdrupal.stackexchange.com%2fquestions%2f284421%2fxdebug-not-working-over-drush%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown