JavaProject jproject = configuration.getProject();
IProject project = jproject.getProject();
IFile file = project.getFile(fileName);
- BrowserUtil.showPreview(file, true, "?DBGSESSID=1@clienthost:"
- + port);
+ if (configuration.useDBGSessionInExternalBrowser()) {
+ BrowserUtil.showBrowserAsExternal(file,
+ "?DBGSESSID=1@clienthost:" + port);
+ } else {
+ BrowserUtil.showPreview(file, true,
+ "?DBGSESSID=1@clienthost:" + port);
+ }
}
});
}