return false;
}
+ public boolean usePathTranslation() {
+ try {
+ return configuration.getAttribute(PHPLaunchConfigurationAttribute.REMOTE_DEBUG_TRANSLATE, false);
+ } catch(CoreException e) {
+ PHPLaunchingPlugin.log(e);
+ }
+ return false;
+ }
+
+ public Map getPathMap() {
+ try {
+ return configuration.getAttribute(PHPLaunchConfigurationAttribute.FILE_MAP, (Map) null);
+ } catch(CoreException e) {
+ PHPLaunchingPlugin.log(e);
+ }
+ return (Map) null;
+ }
+
+ public boolean useDBGSessionInBrowser() {
+ try {
+ return configuration.getAttribute(PHPLaunchConfigurationAttribute.OPEN_DBGSESSION_IN_BROWSER, true);
+ } catch(CoreException e) {
+ PHPLaunchingPlugin.log(e);
+ }
+ return false;
+ }
+
public void setEnvironment(String[] envp)
{
if (envp== null)
public String getRemoteSourcePath() {
IProject project = getProject().getProject();
- if (useRemoteDebugger())
+ if (!useRemoteDebugger())
return project.getLocation().toOSString();
else
{