

To run the new configuration, select Run > Debug ‘DevWeb Script’.

The results are displayed in the bottom panel. Select Tools > External Tools > Inspect DevWeb.

To enable the web inspector for scripts in WebStorm:īack to top Run DevWeb scripts from WebStorm To enable script execution on macOS in WebStorm: To enable script execution on Windows in WebStorm: Select Tools > External tools, and click the + button. (On a macOS, select WebStorm > Preference.) To configure WebStorm to use the DevWeb executable: When scripting with WebStorm, you can execute and inspect the script using the DevWeb executable, as described in the steps below. In the Project view, under the MyDevWebProject project, open main.js to start writing your code.īack to top Enable WebStorm to execute and inspect scripts.In WebStorm, open the MyDevWebProject project. JetBrains 2022 (1) JetBrains All Products ja-netfilterv2022.2.x202200801 JetBrains 2021 (8) JetBrains All Products ja-netfilterv2021.3.Rename the folder, for example, MyDevWebProject.Autocomplete: If you do not start your script from the EmptyScript template, then in order to activate autocomplete capabilities you should copy DevWebSdk.d.ts from the EmptyScript folder to the script folder: /examples/EmptyScript.Ĭopy the EmptyScript folder from \examples\ to a location on the same machine as DevWeb.
