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

Debug Batch (.bat) files #20882

Closed
csholmq opened this issue Feb 19, 2017 · 9 comments
Closed

Debug Batch (.bat) files #20882

csholmq opened this issue Feb 19, 2017 · 9 comments
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities
Milestone

Comments

@csholmq
Copy link

csholmq commented Feb 19, 2017

The Powershell extension enables debugging (https://blogs.technet.microsoft.com/heyscriptingguy/2017/02/13/debugging-powershell-script-in-visual-studio-code-part-2/) which is a really neat. Unfortunately we still have a lot of older scripts at work due to legacy Win XP machines.

Does a similar functionality exist for Batch (.bat) files? I couldn't find any extension and there doesn't appear to be any built in functionality other than syntax highlighting.

@weinand weinand added debug Debug viewlet, configurations, breakpoints, adapter issues *question Issue represents a question, should be posted to StackOverflow (VS Code) labels Feb 21, 2017
@weinand
Copy link
Contributor

weinand commented Feb 21, 2017

@csholmq I'm not aware of any .bat file debugger.

@daviwil do you know whether this is even possible?

@weinand weinand closed this as completed Feb 21, 2017
@csholmq
Copy link
Author

csholmq commented Feb 21, 2017

If it would be possible to debug, this is more of a feature request than a question.

@weinand
Copy link
Contributor

weinand commented Feb 21, 2017

How do you debug .bat files on Windows in general? Is there a debugger?

@daviwil
Copy link
Contributor

daviwil commented Feb 21, 2017

I am not aware of standard .bat debugger and I don't know how one could be implemented.

@weinand
Copy link
Contributor

weinand commented Feb 21, 2017

@daviwil Thanks, that was my assumption.

@csholmq Since there is no implementation in reach, I do not consider this issue a "feature request" for VS Code ;-)

@csholmq
Copy link
Author

csholmq commented Feb 23, 2017

@weinand Only debugger I found was a command line BDEBUGGER https://jpsoft.com/help/bdebugger.htm

Haven't tested it yet, though.

@weinand weinand added help wanted Issues identified as good community contribution opportunities feature-request Request for new features or functionality and removed *question Issue represents a question, should be posted to StackOverflow (VS Code) labels Feb 23, 2017
@weinand weinand removed their assignment Feb 23, 2017
@weinand
Copy link
Contributor

weinand commented Feb 23, 2017

Ok, may be someone can write an extension based on BDEBUGGER...

@weinand
Copy link
Contributor

weinand commented Nov 16, 2017

This feature request will not be considered in the next 6-12 months roadmap and as such will be closed to keep the number of issues we have to maintain actionable.
Thanks for understanding and happy coding!

@weinand weinand closed this as completed Nov 16, 2017
@csholmq
Copy link
Author

csholmq commented Nov 17, 2017

Fair enough :)

@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 31, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities
Projects
None yet
Development

No branches or pull requests

3 participants