Skip to content
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

Debugger for Node doesn't work when project folder under TFS Git On-Premise #3731

Closed
kevinolorenzo opened this issue Mar 4, 2016 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues

Comments

@kevinolorenzo
Copy link

The debugger for VSCode does not seam to work with Typescript (or Javascript) with a project under an on-premise Team Foundation Server 2015 and Git team project. At first I thought it may have been the folder levels or some other wierd thing with my particular project so I took the sample app https://github.com/czechboy0/Express-4x-Typescript-Sample and I built it, ran it, and debugged it outside of my source controlled folder with no issue in VSCode. I copied the exact same folder at the highest level of my source controlled folder and now the debugger does not work in VSCode. It will stopOnEntry just find and I have source maps enabled with the correct output directory in my launch.json but if you set a breakpoint it just gives you a "Unverified Breakpoint" tooltip.

Just for more verification, I took my original project and copied it outside of my source controlled folder and the debugger works properly.

I also tried this on a different machine.

@weinand
Copy link
Contributor

weinand commented Mar 7, 2016

@kevinolorenzo what is the difference of the TFS project? Does it live on a UNC filesystem? Are they any symbolic links involved? Do the file names contain spaces? When specify the 'outDir' attribute could you try to change the drive letter casing.

@weinand weinand added debug Debug viewlet, configurations, breakpoints, adapter issues bug Issue identified by VS Code Team member as probable bug labels Mar 7, 2016
@kevinolorenzo
Copy link
Author

The TFS project is not a shared folder and there are no symbolic links. The root folder DOES contain spaces. Changing the outDir did not resolve the problem. I will say that this same project under TFS DOES work on my mac using VSCode so it seems to be something Windows related.

@weinand
Copy link
Contributor

weinand commented Mar 8, 2016

@kevinolorenzo if the only difference between the TFS project and the non-TFS project is a root folder containing spaces, then you are hitting #3667.

The fix will be available in the next insider's release.

@kevinolorenzo
Copy link
Author

I did some testing and the spaces are indeed the cause. Thank you for your help and feedback.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues
Projects
None yet
Development

No branches or pull requests

2 participants