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
Lípínguapua dopo Pêpê
How do I call a 6-digit Australian phone number with a US-based mobile phone?
"Mouth-breathing" as slang for stupidity
Are there any other rule mechanics that could grant Thieves' Cant?
Identifying My Main Water Shutoff Valve / Setup
What can Amex do if I cancel their card after using the sign up bonus miles?
Escape Velocity - Won't the orbital path just become larger with higher initial velocity?
Do I have to cite common CS algorithms?
How should I write this passage to make it the most readable?
Is it possible to arrive in the US without a C-1 visa for a transit flight
Creating some gif with tikz: Any idea to get better result?
How far did Gandalf and the Balrog drop from the bridge in Moria?
In which case does the Security misconfiguration vulnerability apply to?
In the movie Krull, what happened in the Spider Den?
Did DOS zero out the BSS area when it loaded a program?
How would you translate this? バタコチーズライス
Cases with long math equation
Crippling fear of hellfire &, damnation, please help?
Is this n-speak?
Finding the shaded region
Doesn't the speed of light limit imply the same electron can be annihilated twice?
Did Pope Urban II issue the papal bull "terra nullius" in 1095?
What kind of liquid can be seen 'leaking' from the upper surface of the wing of a Boeing 737-800?
Why is there a large performance impact when looping over an array over 240 elements?
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 8 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-command
in general do you? Just the remote_anable=On?
– rfay
6 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
6 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-command
in general do you? Just the remote_anable=On?
– rfay
6 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
6 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-command
in general do you? Just the remote_anable=On?
– rfay
6 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
6 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 8 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-command
in general do you? Just the remote_anable=On?
– rfay
6 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
6 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-command
in general do you? Just the remote_anable=On?
– rfay
6 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
6 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
6 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
6 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
6 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
6 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