We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cd2d9b4 + 7a1a721 commit eed88d8Copy full SHA for eed88d8
Resources/views/GraphiQL/index.html.twig
@@ -43,6 +43,11 @@
43
body: JSON.stringify(params),
44
credentials: 'include',
45
}).then((res) => {
46
+ var xdebugToken = res.headers.get('X-Debug-Token')
47
+ if (typeof Sfjs !== "undefined") {
48
+ var toolbarElement = document.querySelector('.sf-toolbar')
49
+ Sfjs.load(toolbarElement.id, '/_wdt/' + xdebugToken)
50
+ }
51
return res.text()
52
}).then((body) => {
53
try {
0 commit comments