Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 954 Bytes

README.md

File metadata and controls

37 lines (22 loc) · 954 Bytes

This is a sample for typescript

From the project root run

./src/cli.js chrome -c examples/typescript/aw.config.js

Generating coverage

To be able to generate coverage we need to serve the files with a http server and instrument the source files

./src/cli.js chrome -c examples/typescript/aw.config.js --coverage

Debugging

Using vscode

Install Debugger for Chrome

Add configuration to launch Chrome and the cdp runner

If your favourite editor doesn't support chrome debugging you can pass the chrome.devtools=true option to run Chrome with --auto-open-devtools-for-tabs

./src/cli.js chrome -c examples/typescript/aw.config.js --chrome.devtools=true