To save the automatically generated configuration for further re-use, choose Save from the context menu after the debugging session is over. The file opens in the browser, and the Debug tool window appears. WebStorm generates a debug configuration and starts a debugging session through it. Open the HTML file that references the JavaScript to debug or select the HTML file in the Project tool window.įrom the context menu of the editor or the selection, choose Debug. Set the breakpoints in the JavaScript code, as required. This server is always running and does not require any manual configuration. WebStorm has a built-in web server that can be used to preview and debug your application in a web browser or IDE's built-in browser. For more information about the live editing functionality, refer to Live Edit in HTML, CSS, and JavaScript.ĭebug an application that is running on the built-in server To have the changes you make to your HTML, CSS, or JavaScript code immediately shown in the browser without reloading the page, activate the Live Edit functionality. For more information about plugins, refer to Managing plugins.Ĭonfigure the built-in debugger as described in Configuring JavaScript debugger. In the search field, type JavaScript Debugger. Press Control+Alt+S to open the IDE settings and then select Plugins. Make sure the JavaScript Debugger bundled plugin is enabled in the settings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |