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 acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.