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

Feature Request: Enable debugging of untitled JavaScript files #41877

Closed
pcgeek86 opened this issue Jan 19, 2018 · 3 comments
Closed

Feature Request: Enable debugging of untitled JavaScript files #41877

pcgeek86 opened this issue Jan 19, 2018 · 3 comments
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code

Comments

@pcgeek86
Copy link

Just as with the VSCode PowerShell extension, I'd like to create a new JavaScript file, and debug it without explicitly saving it to the filesystem.

Right now, I'm getting an odd, generic error message when I try to debug an untitled file:

Attribute 'program' is not absolute ('${workspaceFolder}/Untitled-7'); consider adding '${workspaceFolder}/' as a prefix to make it absolute.

Is there already a way to do this?

Cheers,
Trevor Sullivan

@isidorn isidorn assigned weinand and unassigned isidorn Jan 19, 2018
@isidorn isidorn added feature-request Request for new features or functionality debug Debug viewlet, configurations, breakpoints, adapter issues labels Jan 19, 2018
@isidorn
Copy link
Contributor

isidorn commented Jan 19, 2018

Not sure what powershell does to enable this but in theory the javascript extension would need to ask code for the content of the currently active file and use that content to debug it (since it can not read it from disk). Forwarding to @weinand to decide how feasible this is

@weinand
Copy link
Contributor

weinand commented Jan 19, 2018

Would require a debug adapter protocol addition. Not worth the effort.

@weinand weinand added the *out-of-scope Posted issue is not in scope of VS Code label Jan 19, 2018
@vscodebot
Copy link

vscodebot bot commented Jan 19, 2018

This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that have been on the backlog for a long time but have not gained traction: We look at the number of votes the issue has received and the number of duplicate issues filed. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.

If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

Thanks for your understanding and happy coding!

@vscodebot vscodebot bot closed this as completed Jan 19, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 5, 2018
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 *out-of-scope Posted issue is not in scope of VS Code
Projects
None yet
Development

No branches or pull requests

3 participants