Skip to content

Cannot debug with Visual Studio Code #1295

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
elranu opened this issue Oct 30, 2018 · 2 comments
Closed

Cannot debug with Visual Studio Code #1295

elranu opened this issue Oct 30, 2018 · 2 comments

Comments

@elranu
Copy link

elranu commented Oct 30, 2018

What are you trying to achieve?

I'm trying to debug with VS Code as it says on: https://codecept.io/advanced/#debug

What do you get instead?

I get: "setting the outFiles attribute might help":

vscode

Details

  • CodeceptJS version: 1.4.4
  • NodeJS Version: 9.5.0
  • Operating System: Win 10
  • Puppeteer
  • Configuration file:
{
    "tests": "src/*-tests.js",
    "timeout": 10000,
    "output": "./output",
    "helpers": {
        "Puppeteer": {
            "url": "http://localhost:8080/",
            "show": true
        }
    },
    "include": {
        "I": "./steps_file.js"
    },
    "bootstrap": false,
    "mocha": {},
    "name": "BTRE2ETests"
}
@kobenguyent
Copy link
Collaborator

kobenguyent commented Oct 31, 2018

I guess you could try with
${workspaceFolder}/node_modules/codeceptjs/bin/codecept.js

@elranu
Copy link
Author

elranu commented Oct 31, 2018

yes, thanks is working. I have modified to:

         {
            "type": "node",
            "request": "launch",
            "name": "codeceptjs",
            "args": ["run"],
            "program": "${workspaceFolder}/node_modules/codeceptjs/bin/codecept.js"
          }

@elranu elranu closed this as completed Oct 31, 2018
aarifkhamdi added a commit to aarifkhamdi/CodeceptJS that referenced this issue Oct 25, 2023
codeceptjs#1295

My problem was with debugging codeceptjs in nx-based repo. The solution is the same
@aarifkhamdi aarifkhamdi mentioned this issue Oct 25, 2023
31 tasks
kobenguyent pushed a commit that referenced this issue Nov 5, 2023
#1295

My problem was with debugging codeceptjs in nx-based repo. The solution is the same
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants