implement proper nodejs debugging
- will start to phase out using console.log for actual debugging - existing "debug" (verbose) messages will stay as is - future code debugging will use debug() to debug WIP, therefore not showing to most users if it is accidently left in
This commit is contained in:
@@ -59,6 +59,13 @@ class WTVShared {
|
||||
return src;
|
||||
}
|
||||
|
||||
isConfiguredService(service) {
|
||||
if (this.minisrv_config.services[service]) {
|
||||
if (!this.minisrv_config.services[service].disabled) return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
getServiceString(service, overrides = {}) {
|
||||
// used externally by service scripts
|
||||
if (service === "all") {
|
||||
|
||||
Reference in New Issue
Block a user