Add the ts-node package as a dependency on your TestCafe project.
The BROWSER, HEADLESS and FILTER environment variables should be present within your runner.ts file as well as the filter method set up (this is how the extension tells TestCafe which browser and test to use). You can use this tiny test framework as reference.
Visualize and execute tests from the test explorer
Configure browser and its visibility
Start debugger for test scripts
Quickly navigate to the test script
Run, debug and navigate to test explorer from the script file
Currently only test scripts with the .ts extension are valid.
Stopping the debugger or canceling a test run will not close the browser. This is because VSCode doesn't have the ability to control an external application.