cgkineo / adapt-devtools

Tools for developing and testing Adapt courses
GNU General Public License v3.0
8 stars 6 forks source link

New: Add _debugFile property (fix #74) #81

Closed swashbuck closed 4 months ago

swashbuck commented 6 months ago

Fixes #74

New

Notes

I did not see the purpose in adding this to the schemas, but let me know otherwise. Can we even upload .json files to the authoring tool?

Testing

  1. In config.json, add _debugFile to the Dev Tools config.
"_devtools": {
  "_isEnabled": true,
  "_debugFile": "course/dev.json"
},
  1. Check the console for messages:
    • If _debugFile is not set, no warning or error message should display.
    • Likewise, if _debugFile is set with a valid file path, no message should display.
    • If _debugFile is set but the file is missing, an error should display.
github-actions[bot] commented 4 months ago

:tada: This PR is included in version 3.5.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: