-
Notifications
You must be signed in to change notification settings - Fork 4
JavaScript
Dominic Cronin edited this page May 17, 2015
·
2 revisions
New to JavaScript programming? Or have you been away so long and don't know how it connects with other technology, frameworks, and buzzwords (MVC, JQuery, Anguilla,etc).
Debug JavaScript in Chrome.
- Open page or start pop-up.
- Use CTRL+SHIFT+I to open the Developer tools (CTRL+SHIFT+J to jump straight to the JavaScript console).
- Select a script from the top-left dropdown and set a breakpoint by right-clicking on the left-side numbered lines.
- Close the console (CTRL+W to close any Chrome tab/pop-up)
- Re-run the page or pop-up and press CTRL+SHIFT+I to trigger the breakpoint.
You can also place "debugger;" in your .js to create a breakpoint.
You'll need to set the stripdebugstatements attribute to "false" in: %TRIDION_HOME%\web\WebUI\WebRoot\Configuration\System.config
Tip: Tough to read Anguilla's minified code? Check out DeactivateJSMinifier!
- PowerTools Project Information
- Get Involved
- About the Project
- Project Leads
- [Governance]
- [Logo]
- The Tools
- Working Tools
- [AddUser]
- AppDataInspector
- BatchImageUploader
- CountItems
- DragDropUploader
- ExampleTool
- [Item XML Viewer|item-xml]
- PagePublisher (WIP)
- [DuplicateBinaries]
- PowerTools Help
- Schema Documenter
- ItemCommenting
- Tools in Development
- [ComponentSynchronizer]
- [SchemaFieldRemover]
- [PowerPreview]
- Tool Ideas
- [CandidateTools T2009 PT Matrix]
- AccessExplorer
- AccessPermissionsManager
- AccessRightsManager
- [CMEPageTypes]
- ComponentSynchronizer2
- ComponentUnpublisher
- MultiItemWhereUsed
- PageUnpublisher
- PowerPublish
- PowerPaste
- PublishToChildren
- QuickSearchReplace
- SchemaTemplateRelationships
- ShowLists
- [Overview System Overview]
- [XMLFieldRenamer]
- [XMLViewerXPathSearcher XML/XPathViewer]
- Working Tools
- [ReleaseHistory Releases]
- For Developers
- Latest News
- What needs doing?
- [http://code.google.com/p/tridion-2011-power-tools/issues/list Issue List]
- [Definitions Terminology]
- [InstallationGuide Installation Guide]
- [nononsenseguide Development Guide]
- [DevelopmentTools Tools/Software]
- [SourceControl SVN Primer]
- Design Guidelines
- [DesignGuidelines Introduction]
- [CodingStandards Coding Standards ]
- [JavaScript JavaScript]
- [CodingGuidelines_Anguilla Anguilla]
- Reusable Code & Tips
- [Utils Item picker]
- [BaseClass Javascript Base Class]
- [DeactivateJSMinifier Deactivate JS Minifier]
- ClearBrowserCache
- [Testing]
- Documentation
- [RequirementsTemplate Wiki Template]
- Community Resources
- [http://groups.google.com/group/tridion-powertools PowerTools Group]
- [https://groups.google.com/forum/?fromgroups#!forum/tridion-community-announcements Community Announcements]
- [https://plus.google.com/u/0/communities/106444984308684362269 Google+ Community]
- [Help Wiki Help]
- *[http://code.google.com/p/tridion-2011-power-tools/w/list Wiki Index]