January 5, 2022 at 2:18 pm #7649
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.
Could you look into this and see what is going on? This would be great!
EliseJanuary 10, 2022 at 11:50 am #7658JeremyKeymaster
DebugOffat 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, making
DebugOffentirely effectless on the farm
You 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)
JeremyJanuary 10, 2022 at 12:39 pm #7660
I see, thanks a lot! This makes total sense and the shortcut will be really helpful to me!
EliseJanuary 29, 2022 at 10:12 am #7705
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 make
DebuggOff()usable again. Could you point me to the .js file I would need to replace by an old one such that I can use
DebuggOff()again? Or can you think of any other way to switch off the debugger when running experiments on an external server?
Thanks in advance!
EliseJanuary 31, 2022 at 12:41 pm #7706JeremyKeymaster
Did you try using
DebugOff(make sure you only include one
g) in your experiment’s code on an external server, and the debugger still showed up? Did you make sure to either place
PennController.ResetPrefix, or did you use the prefix:
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
JeremyJanuary 31, 2022 at 3:36 pm #7707
Sorry, it was indeed my typo. Thank you, it works now on the external server.
- You must be logged in to reply to this topic.