

When developing new script-based monitoring, you may want to install a new Collector to use as a sandbox environment.DataSource collection scripts, which are run once per poll, should complete within 1m to ensure data can be processed within the polling interval.As such, they should be designed to be as lightweight as possible. Because LogicMonitor scripts are run by your Collector, they’re limited by the overall horsepower in that system.To ensure your scripts run trouble-free, keep the following best practices in mind: Go to the troubleshooting forum.LogicMonitor’s scripting features provide for powerful extensibility of your monitoring, but as they say: with great power comes great responsibility. Now that you have diagnosed your error, you should make your support forum request. The image above shows the error to be in jquery.js on line 2, however remember to copy the whole stack information! Just saying what line is less helpful that showing context. To find the error location, expand one of the errors. Select JavaScript and Errors from the two drop downs. In Chrome, navigate to Tools > Advanced > Error Console. Go to the screen where you are experiencing the error. Note: If you cannot see the error click the back button within the console. The console show you the error, the error location and the line number: If you don’t see any errors try reloading the page. In Safari, navigate to Develop > Show Error Console Navigate to Safari > Preferences > Advanced and check the box that says Show Develop menu in menu bar The image above shows the error to be in jquery.js on line 2. In Internet Explorer, navigate to Settings > F12 Developer Tools. If you are currently using IE11, it is strongly recommended that you switch to a more modern browser, such as Google Chrome, Mozilla Firefox, Safari, or Microsoft Edge. More information can be found on the Making WordPress Blog.

NOTE: WordPress officially dropped support for Internet Explorer 11 in WordPress 5.8. Also note that the debugging tools built into some IE versions are limited, and may not be available. The first thing to check when facing a problem in IE is if the problem only exists in IE. Or, navigate to Web Development > Web Console from Firefox menu, and click Console tab.īear in mind, IE behaves vastly differently from other browsers when it comes to JS errors, and reports on them in disparate ways. Press Command+Option+K (Mac) or Control+Shift+K (Windows) to jump straight into the Console panel of Firefox Web Console. The console will provide you with the error type, the location of the error and the line number The error may be generated when the page loads. Or, navigate to More Tools > Developer Tools from Chrome menu, and click Console tab. Press Command+Option+J (Mac) or Control+Shift+J (Windows, Linux, Chrome OS) to jump straight into the Console panel of Chrome DevTools. Now that you know which browsers you are experiencing issues in you can start to diagnose the issue. Issue is fixed – turn off script debugging and report the issue on the support forum, telling the volunteers that you turned on script debugging and it solved the problem.define('SCRIPT_DEBUG', true) Ĭheck to see if you are still having an issue. Open wp-config.php and add the following line before “That’s all, stop editing! Happy blogging”. You can use this information when you are making a support request.

Make note of any browsers you are experiencing the error in.
#SCRIPT DEBUGGER ERROR GETTING PROPERTY HOW TO#
This guide will show you how to diagnose JavaScript issues in different browsers.

In order to formulate your support request it helps the team to know what the JavaScript error is. For example, your flyout menus may be broken, your metaboxes don’t drag, or your add media buttons aren’t working. If you’re experiencing issues with your interactive functionality this may be due to JavaScript errors or conflicts.
