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 @@ -1317,6 +1317,11 @@ async function serverStart() {
13171317 throw new Error ( `Log config file '${ logConfigFile } ' not found` )
13181318 }
13191319
1320+ const x = OMEGA_EDIT_HOST
1321+ const y = getPidFile ( omegaEditPort )
1322+ const z = logConfigFile
1323+
1324+ console . log ( x , y , z )
13201325 // Start the server and wait up to 10 seconds for it to start
13211326 const serverPid = ( await Promise . race ( [
13221327 startServer (
Original file line number Diff line number Diff line change @@ -296,11 +296,10 @@ export async function runScript(
296296 const terminal = getTerminal ( hideTerminal , env , createTerminal )
297297
298298 // Create debugger run command
299- const fullPathToScript = path
300- . join ( scriptPath , 'bin' , scriptName )
301- // fix pathing as emtpy space needs a \ before it to not cause errors
302- . replace ( ' ' , '\\ ' )
303- const debuggerRunCommand = `${ fullPathToScript } ${ shellArgs . join ( ' ' ) } `
299+ const fullPathToScript = path . join ( scriptPath , 'bin' , scriptName )
300+
301+ // Surround path to script with quotes to account for spaces
302+ const debuggerRunCommand = `"${ fullPathToScript } " ${ shellArgs . join ( ' ' ) } `
304303
305304 // Send debugger run command to terminal, when exists terminal will stay open
306305 terminal . sendText ( debuggerRunCommand )
You can’t perform that action at this time.
0 commit comments