Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

debugger should warn if "program" property doesn't exist #565

Closed
mousetraps opened this issue Oct 26, 2016 · 4 comments
Closed

debugger should warn if "program" property doesn't exist #565

mousetraps opened this issue Oct 26, 2016 · 4 comments
Assignees
Labels

Comments

@mousetraps
Copy link

Smoke testing, Windows

This would help diagnose potential typos/issues in launch.json (esp helpful if files have moved around)

@ramya-rao-a
Copy link
Contributor

cc @roblourens thoughts?

Right now, we have a default which points to cwd if the program attribute is not specified

@roblourens
Copy link
Member

Node debugger checks whether "program" exists, and fails if not.

@roblourens
Copy link
Member

I don't know what delve is doing though

@ramya-rao-a
Copy link
Contributor

@mousetraps When I delete the program property from launch.json and try debugging I get the below error "Failed to continue: "TypeError: Path must be a string. Received undefined"" which I believe is coming from VS Code itself.

Is that what you were referring to?

@ramya-rao-a ramya-rao-a self-assigned this Feb 1, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 24, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants