casportable.blogg.se

Using visual studio code debug feature guide
Using visual studio code debug feature guide








using visual studio code debug feature guide

In this case, they specify the browser in which the tests should run and the relative path to the test file. args - command line arguments passed to the launched program.In this case, this file is the TestCafe module.

using visual studio code debug feature guide

program - path to the executed JS file.name - specifies the configuration name.Set to launch since this configuration launches a program. The legacy protocol has issues with source map support, therefore newer versions of Node.js are recommended.

using visual studio code debug feature guide

In that case, Node.js uses a legacy debugger protocol. If you dont have anything configured yet you can create a new launch.json. Note that the inspector protocol is supported in Node.js v6.3 (or v6.9 for Windows) or later. First of all, you need to go to the debug tab on the right menu of VS Code.

  • protocol - specifies the Node.js debugger wire protocol .
  • type - specifies the configuration type.
  • This configuration contains the following attributes: Contrary to debuggers in other IDEs, its surprisingly smooth. Before you debug in Visual Studio Code, ensure that your root test directory contains a package.json file that includes testcafe in the devDependencies section. Developed by Microsoft, Debugger for Chrome allows you to debug your JS code in VSCode.










    Using visual studio code debug feature guide