-
Notifications
You must be signed in to change notification settings - Fork 61
issue debugging app #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
With F2 (and any site that brings in dynamic javascript) debugging can be somewhat tricky. When using Chrome or even Firebug in Firefox, I like to insert a |
Ah, back to the basics. Is this something that you are thinking of looking into other approaches as this make debugging apps fairly complicated as you have to put in debugger statements throughout the javascript. |
We won't be adding anything specific to F2 for individual app developers' debugging process. We are in the process of adding unit testing at a much higher level though. Debugging statements can and should only be used temporarily to determine what your appclass script is having trouble with -- definitely remove them when you're finished and your app is ready for prime time. |
Let me add a bit to what Mark said. Adding a Right now F2 is using jQuery internally to pull in the scripts for an app (using I think we would need to pull out that dependency on jQuery and add the scripts ourselves and leave the script in the DOM so that the browser debuggers could see them. We would need to be careful of browser memory issues (IE!) that jQuery already has solved. Until we (or someone in the community) have time to work on that enhancement, a |
Thanks. I agree that leaving the script in the DOM would make it easier for app development and debugging, especially as the app become more complex. For now, adding the debugger statements works but is tedious. |
Reopening this to evaluate for a possible 1.2.2 release. Thanks @njbrm |
I've replaced The generated script tags are added to the container |
i have to admit that I am fairly new to debugging javascript in the client but using Chrome I was always able to view the source in the developer tools and set breakpoints. Unfortunately I cannot find the source in the sources list. How can I debug the appclass.js file for my app?
The text was updated successfully, but these errors were encountered: