cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

Error when trying to debug

Open TaduJR opened this issue 1 year ago • 1 comments

Issue Summary

Getting an error when trying to use breakpoints and start debugging.

The error is "'C:\Users\Natu\Desktop\Desktop\cal.com/node_modules/next/dist/bin/next' is not recognized as an internal or external command, operable program or batch file." I also uploaded a screenshot you can take a look.

I also tried using Linux but in Linux, It successfully executes the run and debug or F5 command but it just passes the breakpoint without pausing the execution basically the Linux debugger also is not working. 2023-11-19 18_31_06-sessionMiddleware ts - cal com - Visual Studio Code

TaduJR avatar Nov 19 '23 15:11 TaduJR

Update: After a lot try I have managed to add another option to .vscode/launch.json file which works for me. I also made a pull request for the fix.

TaduJR avatar Nov 19 '23 17:11 TaduJR