Skip to content

Commit

Permalink
fixes issues where attach command would not work if there was a space…
Browse files Browse the repository at this point in the history
… in the pydevd path
  • Loading branch information
cmcpasserby committed Mar 13, 2021
1 parent df7ac3d commit db22346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/debugattach/MayaAttachToProcessCliState.kt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class MayaAttachToProcessCliState(runConfig: PythonRunConfiguration, env: Execut
conf.sdkHome = sdkPath
conf.isUseModuleSdk = false
conf.scriptName = Paths.get(projectSettings.pythonCachePath.toString(), "attach_pydevd.py").toString()
conf.scriptParameters = "--port $port --pid $pid --mcPort $mcPort --pydevPath $debuggerPath"
conf.scriptParameters = "--port $port --pid $pid --mcPort $mcPort --pydevPath \"$debuggerPath\""

return MayaAttachToProcessCliState(conf, env)
}
Expand Down

0 comments on commit db22346

Please sign in to comment.