Jscrambler is compatible with all the JavaScript frameworks and libraries but there are times where problems may arise and you need to ask for help debugging your protected code. This is where Jscrambler's Debug Mode comes in. If you're having any issues with your Jscrambler application, our Support Team may ask you to enable Debug Mode in your application which will instrument your code to output specific messages to help the debugging process.
Debug Mode can be enabled either in Jscrambler's Web Application or by passing a specific parameter to one of our Clients.
To enable Debug Mode, click the cogwheel on the top right corner and you should be able to see the Debug Mode option.
You should also see a message above the Protect Button saying that the Debug Mode is enabled.
All protections made with the Debug Mode enabled will instrument the code.
Our CLI and our other packages such as webpack and gulp allow for specifying the debugMode
option through the configuration:
{
"keys": {
"accessKey": "myAccessKey",
"secretKey": "mySecretKey"
},
"applicationId": "myApplicationID",
"params": [
{
"name": "stringSplitting"
}
],
"areSubscribersOrdered": false,
"debugMode": true
}
If you're solely using our CLI, you can add a debugMode
flag to the command:
jscrambler -c config.json -o dist/ --debugMode app.js