How to Remove Tracy Debug Bar Script in Ajax Outout

Notice: This thread is very old.
dqj
Member | 11
+
0
-

The Tracy Debug Bar script should not show up in Ajax responses, but I cannot figure out how to disable it. Using the configurator->enableDebugger() only on non-ajax calls causes an exception itself!

(I wish I could include a screenshot here, but this forum does not apparently allow it. Also, I should add that the code marks don't seem to work very well either to mark code. They just show up as backticks in the output. Why do people use this forum software?)

In the javascript console, what I see is:
`
“my-result”

<-- Tracy Debug Bar -->

<script>

`
All I should be seeing is:
`
“my-result”
`

David Matějka
Moderator | 6445
+
0
-

That is weird, tracy bar should not be there thanks to this line … How are you creating the ajax request?

backticks are used only for inline code, for multiline code use this