Skip to main content
Inspiring
August 4, 2017
Answered

Enable debugging in LMS

  • August 4, 2017
  • 2 replies
  • 1827 views

Hi there, I want to enable a debugging window to launch when a course is launched in LMS 365. I go to the scormdriver.js and change the SHOW_DEBUG_ON_LAUNCH=false to SHOW_DEBUG_ON_LAUNCH=true The debugging window launches alright, but it stays blank. Would anyone have an idea if I have to change something more? For Storyline SCORMs, changing the line to SHOW_DEBUG_ON_LAUNCH=true works well. Maybe I am missing a step? Thank you in advance B

This is what I can see in the debugger window when pressing F12.

    This topic has been closed for replies.
    Correct answer MichaelStephens

    You need to go into the published file and make a change to to the CPM.js file, which is located in assets/js/. Search for debug and you'll find the line quizReportingData:{lWriteDebugInfo:false. Change "false" to "true", save the file, then try the file again. The debugger should now show you the SCORM debug logs.

    2 replies

    MichaelStephens
    MichaelStephensCorrect answer
    Legend
    March 20, 2019

    You need to go into the published file and make a change to to the CPM.js file, which is located in assets/js/. Search for debug and you'll find the line quizReportingData:{lWriteDebugInfo:false. Change "false" to "true", save the file, then try the file again. The debugger should now show you the SCORM debug logs.

    Inspiring
    March 20, 2019

    works like a charm

    thanks a million.

    I know a bit about scorm but would like to get deeper.

    would you recommend a resource/link where I could get more information about the message I am getting in the debugger

    Thanks again Michael

    MichaelStephens
    Legend
    March 20, 2019

    Are you referring to the error message in the original image you posted?

    papaintegrator
    Inspiring
    August 21, 2017

    Hi Bobby,

    Did you test this on a local system, you can use WAMP or any other server to test this on local machine?

    Also, as the following (below) is defined in scormdriver.js; Do you get "Calling Standard Initialize" messages as given here?

    You can also add some counters of your own to verify what is exactly happening and then add additional methods as required:

    /best

    Inspiring
    August 24, 2017

    Hi papaintegrator,

    I cannot use WAMP since the environment is restricted but will test that. Sorry for the late replies.

    B