shanedell commented on code in PR #664:
URL: https://github.com/apache/daffodil-vscode/pull/664#discussion_r1232588743


##########
src/daffodilDebugger.ts:
##########
@@ -189,7 +189,14 @@ export async function getDebugger(
       // Get daffodilDebugger class paths to be added to the debugger
       let daffodilDebugClasspath = ''
 
+      //check if each classpath still exists
       if (config.daffodilDebugClasspath) {
+        config.daffodilDebugClasspath.split(':').forEach((classpath) => {
+          if (!fs.existsSync(classpath)) {
+            throw new Error(`File or directory: ${classpath} doesn't exist`)
+          }
+        })
+
         daffodilDebugClasspath = config.daffodilDebugClasspath.includes(

Review Comment:
   @mbeckerle Which line are you referring to? Line 200 that assigns the 
`daffodilDebugClasspath`? That line is removing `${workspaceFolder}` from the 
`daffodilDebugClasspath` if found and putting in the actual path.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to