By default, the Working directory field shows the project root folder. In this field, specify the working directory of the application. In this field, specify the location of the jest, react-scripts, react-script-ts, react-super-scripts, or react-awesome-scripts package. If you are using ECMAScript Modules in your project, WebStorm detects them and adds the -experimental-vm-modules flag to the Node options field automatically. Otherwise, by default the debug process will use V8 Debugging Protocol. ![]() Use -inspect or -inspect-brk parameter when you are using Node.js v7 for Chrome Debugging Protocol support. Therefore make sure you have the coffeescript package installed locally as described in Install the CoffeeScript compiler. This mode requires that the register.js file, which is a part of the coffeescript package, is located inside your project. Use -require coffeescript/register to have CoffeeScript files compiled into JavaScript on the fly during run. In this field, type the Node.js-specific command-line options to be passed to the Node.js executable file. You can also choose another configured local or remote interpreter or click and configure a new one.įor more information, refer to Configuring remote Node.js interpreters, Configuring a local Node.js interpreter, and Using Node.js on Windows Subsystem for Linux. In most cases, WebStorm detects the project default interpreter and fills in the field itself. If you choose the Project alias, WebStorm will automatically use the project default interpreter from the Node interpreter field on the Node.js page. In this field, specify the Node.js interpreter to use. ![]() If no appropriate package.json file is found, then a Jest default configuration is generated on the fly. The search is performed in the file system upwards from the working directory. If the field is empty, WebStorm looks for a package.json file with a jest key. In this field, optionally specify the or file to use: select the relevant file from the list, or click and select it in the dialog that opens, or just type the path in the field.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |