0

I have an typescript project with protractor. I could able to add debug point to the transpiled javascript

launch.json

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
    {
        "type": "node",
        "request": "launch",
        "name": "Launch Program",
        "cwd": "${workspaceFolder}",
        "program": "${workspaceRoot}/node_modules/protractor/bin/protractor",
    "stopOnEntry": false,
    "args": [
        "${workspaceRoot}/typeScript/config/config.js"
    ],
}

] }

But I need to debug the actual ts file instead of the transpiled js. Is there any provision to do so

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.