PennController for IBEX › Forums › Support › DebugOff() does not work
- This topic has 5 replies, 2 voices, and was last updated 2 years, 7 months ago by Elise.
-
AuthorPosts
-
January 5, 2022 at 2:18 pm #7649EliseParticipant
Hi Jeremy,
for some reason I cannot switch off the debug mode by using
PennController.DebugOff();
. This is the case for my current experiments and all my old experiments that I already run and in which switching off the debugger had worked previously.Here are the links to my current exeriments:
Experiment 1
Experiment 2Could you look into this and see what is going on? This would be great!
Best,
EliseJanuary 10, 2022 at 11:50 am #7658JeremyKeymasterHi Elise,
I disabled
DebugOff
at demonstration links on the farm during the last update, as several issues that users faced proved to be detected by the debugger although it had been turned off while the project was still under development. The debugger is automatically turned off at the data-collection link though, makingDebugOff
entirely effectless on the farmYou can close the debugger while testing your experiment by clicking the cross button at the top-right corner of its popup window (and you can bring it back up later by pressing ctrl-d, by the way)
Jeremy
January 10, 2022 at 12:39 pm #7660EliseParticipantHi Jeremy,
I see, thanks a lot! This makes total sense and the shortcut will be really helpful to me!
Best,
EliseJanuary 29, 2022 at 10:12 am #7705EliseParticipantHi Jeremy,
I noticed that without
DebuggOff()
I cannot switch off the debugger when running my experiment on an external server. I assume I would need to use an old version of PCIbex to makeDebuggOff()
usable again. Could you point me to the .js file I would need to replace by an old one such that I can useDebuggOff()
again? Or can you think of any other way to switch off the debugger when running experiments on an external server?Thanks in advance!
Elise
January 31, 2022 at 12:41 pm #7706JeremyKeymasterHi Elise,
Did you try using
DebugOff
(make sure you only include oneg
) in your experiment’s code on an external server, and the debugger still showed up? Did you make sure to either placeDebugOff
belowPennController.ResetPrefix
, or did you use the prefix:PennController.DebugOff()
?I didn’t change anything about that function in any PennController version, I only set things up on the PCIbex Farm so that the debugger would only (and always) show up at the demonstration link, and not at the data-collection link
Jeremy
January 31, 2022 at 3:36 pm #7707EliseParticipantHi Jeremy,
Sorry, it was indeed my typo. Thank you, it works now on the external server.
Best,
Elise -
AuthorPosts
- You must be logged in to reply to this topic.