You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 3, 2024. It is now read-only.
This issue is discovered upon the investigation for issue #932 . Basically, the cloud debugger agent uses a fuzzy search when determining which file should a user-provided breakpoint be set on. The user will see the error message "Could not determine the output file associated with the transpiled input file" when setting a breakpoint that can potentially match to multiple files. This error message is confusing as it does not lead to a way for the user to solve the problem.
Environment details
OS: Debian 5.10.26
Node.js version: v12.21.0
npm version: 7.5.2
@google-cloud/debug-agent version: 5.2.0
Steps to reproduce
Deploy a cloud-debugger-enabled application with multiple files having the same name but in different directories.
In the GCP debugger console, upload one of the above directory as the "local source", and set a breakpoint in that same-name file.
Proposal to solutions
A better error message would be to show the user all the matched candidate files so that the user can make another set-breakpoint request with a more specific path.
We should either:
show the matched candidate files in the error message directly,
or show matched candidates in the agent logs and prompt the user to search for the logs in the error message.
Background
This issue is discovered upon the investigation for issue #932 . Basically, the cloud debugger agent uses a fuzzy search when determining which file should a user-provided breakpoint be set on. The user will see the error message "Could not determine the output file associated with the transpiled input file" when setting a breakpoint that can potentially match to multiple files. This error message is confusing as it does not lead to a way for the user to solve the problem.
Environment details
@google-cloud/debug-agentversion: 5.2.0Steps to reproduce
Proposal to solutions
A better error message would be to show the user all the matched candidate files so that the user can make another set-breakpoint request with a more specific path.
We should either: