
You can review the System Requirements to check if your computer configuration is supported. VS Code is lightweight and should run on most available hardware and platform versions. VS Code is a free code editor, which runs on the macOS, Linux, and Windows operating systems.įollow the platform-specific guides below: It is a small download so you can install in a matter of minutes and give VS Code a try. Getting up and running with Visual Studio Code is quick and easy. Configure IntelliSense for cross-compiling.Save the configuration and click, , or on the toolbar. In the Run/Debug Configuration dialog ( Run | Edit Configurations), click, select the appropriate configuration type, and fill in the required fields. Run or debug tests using a run/debug configuration Quickly run or debug a single test with Mocha, Karma, or JestĬlick or in the gutter and choose Run or Debug from the list. Running and debugging testsīefore you start with testing JavaScript, make sure the chosen test runner is installed and set up in your project as described on the corresponding page. Alternatively, press Ctrl+F12 to open the Structure view as a popup in the editor. To jump to the Structure tool window, press Alt+7.

You can also quickly navigate through a test file using the Structure view that shows the names of the tests and suites, as well as other symbols defined in this file. For example, from auth.js you can jump to. IntelliJ IDEA lets you quickly jump from the source code to the related test file with the Go to test action ( Ctrl+Shift+T or Navigate | Test). Test status is shown next to the test in the editor with an option to quickly run or debug it:įor Jest, Karma, and Mocha you can also see a code coverage report right in IntelliJ IDEA. You can see the test results in a treeview and easily navigate to the test source from there. With IntelliJ IDEA, you can run and debug JavaScript unit tests using Mocha, Karma, Jest, Protractor, and Cucumber.js.
