File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ if defined DAFFODIL_DEBUG_CLASSPATH (
122122
123123
124124rem Call the application and pass all arguments unchanged.
125- "%_JAVACMD%" !_JAVA_OPTS! !DAFFODIL_DEBUGGER_OPTS! -cp " %NEW_CLASSPATH%" %MAIN_CLASS% !_APP_ARGS!
125+ "%_JAVACMD%" !_JAVA_OPTS! !DAFFODIL_DEBUGGER_OPTS! -cp %NEW_CLASSPATH% %MAIN_CLASS% !_APP_ARGS!
126126
127127@endlocal
128128
Original file line number Diff line number Diff line change @@ -1257,6 +1257,11 @@ async function serverStart() {
12571257 throw new Error ( `Log config file '${ logConfigFile } ' not found` )
12581258 }
12591259
1260+ const x = OMEGA_EDIT_HOST
1261+ const y = getPidFile ( omegaEditPort )
1262+ const z = logConfigFile
1263+
1264+ console . log ( x , y , z )
12601265 // Start the server and wait up to 10 seconds for it to start
12611266 const serverPid = ( await Promise . race ( [
12621267 startServer (
Original file line number Diff line number Diff line change @@ -297,11 +297,10 @@ export async function runScript(
297297 const terminal = getTerminal ( hideTerminal , env , createTerminal )
298298
299299 // Create debugger run command
300- const fullPathToScript = path
301- . join ( scriptPath , 'bin' , scriptName )
302- // fix pathing as emtpy space needs a \ before it to not cause errors
303- . replace ( ' ' , '\\ ' )
304- const debuggerRunCommand = `${ fullPathToScript } ${ shellArgs . join ( ' ' ) } `
300+ const fullPathToScript = path . join ( scriptPath , 'bin' , scriptName )
301+
302+ // Surround path to script with quotes to account for spaces
303+ const debuggerRunCommand = `"${ fullPathToScript } " ${ shellArgs . join ( ' ' ) } `
305304
306305 // Send debugger run command to terminal, when exists terminal will stay open
307306 terminal . sendText ( debuggerRunCommand )
You can’t perform that action at this time.
0 commit comments