Discussions
Problem with debugging in V2007
Hi,
I'm experiencing an issue with NetSuite in V2007.
The problem is that my server scripts do not yield any debug messages even if debug level of a particular script deployment is set to "Debug". Furthermore I can't delete entries from script's or deployment's "Execution log" anymore.
For logging I use nlapiLogExecution function with first parameter set to 'DEBUG' or 'Debug'.
i've inerted this code befor my code:
if (nlapiGetContext().getSetting('SCRIPT', 'custscript_case_debug') == 'T') {
debug = true;
nlapiLogExecution ('DEBUG', 'Debug mode is turned on');
}
and there is no message in Execution Log