Open
Conversation
chendelbari
commented
Jul 20, 2022
- fixed the data hooks duplication
- joined the backend+frontend debugging, as I think its better to suggest on 1 debugging method (as client code would also be logged there). also mentioned that the screen needs to be open (not trivial).
- suggested to use test-site and not directly to publish
ofirdagan
requested changes
Jul 20, 2022
| * Zero code CRUD using data binding | ||
| * Rendering repeated items using repeaters | ||
| * Wix data hooks | ||
| * Wix data events (not to be confused with the wix events vertical) |
Owner
There was a problem hiding this comment.
I meant the edm events as you said in the beginning :)
| * Monitoring and Debugging | ||
| * Backend logs can be viewed in the [Site Events (aka logs)](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fmanage.wix.com%2Fdashboard%2F%7BmetaSiteId%7D%2Fsettings%2Fmonitoring%2Fsite-events&title=Site+Events&primaryButtonText=Select) section in the business manager's developer tools menu. | ||
| * Debugging client code can be done via the browser's developer tools. Look in the console for the file name of the page you want to debug | ||
| * Backend logs as well as client logs can be viewed in the [Site Events (aka logs)](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fmanage.wix.com%2Fdashboard%2F%7BmetaSiteId%7D%2Fsettings%2Fmonitoring%2Fsite-events&title=Site+Events&primaryButtonText=Select) section in the business manager's developer tools menu. Note that you can't browse logs history, you can only see realtime logs, so the logs screen needs to be open during the session (open it in another tab in your browser). |
Owner
There was a problem hiding this comment.
Good note about that the tab should be open. but you didn't explain about debugging client code in the browser..
Author
There was a problem hiding this comment.
This is intentional, as I think its easier to debug both (client & backend) via Site Events (mostly because its in the same place), and not via dev tools.. Am I missing something special about debugging in dev tools that you tend to favor?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.