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
This commit enhances the "Open in Editor" feature by providing more
informative error messages and adding detailed diagnostic logging. These
changes will help users troubleshoot path mapping issues more effectively.
Key changes:
- Updated the error message in `onSocketOpeninEditor` to suggest
configuring the `pathMapping` in `launch.json`.
- Improved the error message in `parseUrlToUri` to provide a clearer
explanation of the issue and suggest a solution.
- Added `console.log` statements to `parseUrlToUri` to trace the URL
transformation process and aid in debugging.
message: `${sourcePath} does not map to a local file.${appendedEntryPoint ? entryPointErrorMessage : ''}`,
541
+
message: `Could not open '${sourcePath}' in the editor. Make sure that the file is part of the workspace and that 'pathMapping' is configured correctly in your 'launch.json'.${appendedEntryPoint ? entryPointErrorMessage : ''}`,
0 commit comments