lotus notes xpage debugging - debugging

I'm using xpages and lotus notes.
I've followed the guides mentioned from various sites about setting up debugging with lotus notes xpages javascript,
where
JavaEnableDebug=1
JavascriptEnableDebug=1
JavaDebugOptions=transport=dt_socket,server=y,suspend=n,address=8000
has to be set up on workstation and on dev server.
Also, the port 8000 has to be enabled, and opened in default firewall on workstation and dev server.
And create a Javascript debug config on LN with ip address of dev server, and port 8000.
Also checking, port 8000 is not being used as per using netstat...
on workstation and on dev server,
and so I did...
Then soft restart workstation and dev server, loaded up LNotes and designer,
then using Chrome, I loaded my app for debugging,
then going back to LNotes while app is running and focused on the browser,
then trying to run my Debug config...
But debugger still does not connect, and keeps popping the help info screen.
So, what could I have missed?

In Domino Designer you need to switch to the Debug tab and click on the bug to start your session.
I found it doesn't connect always directly. When you see only 2 threads it didn't. Click disconnect and connect again.
Once you see more threads you are good to go. You also need to set some breakpoints otherwise it runs through

Related

About behavior of "Minimize" in case of Remote App when using Guacamole

We are using Guacamole for developing an application with RDP. We did POC using code from the following GitHub repositories:
https://github.com/wwt/guac
https://github.com/wwt/guac-vue
Configuration details are:
Windows Server 2016. RDP service is running here.
With this setup, we could successfully access the application remotely, however, the "minimize" action is not behaving as we expected. That is, the remote app window vanishes when we press the "minimize" button and a black screen is shown.
We could get back to the app by pressing 'Alt+Tab' combination but what we are expecting here is that the app getting placed at the bottom of the window showing three buttons: "Minimize, Restore and Close", so that we can take the further action. (As shown below.)
Has someone come across such a scenario and was able to address the need? Any help will be highly appreciated.
We came across this thread that talks about a similar problem but it doesn't have a solution.
We also explored official documentation of guacamole but had no luck.
Thanks in advance!
I believe you are starting the application using RemoteApp mechanism. The RemoteApp means that the remote application will be started integrated with the local computer desktop. The local computer desktop, or better window manager, will handle the minimise action.
In case of the Guacamole, the "local computer desktop" is the browser window, which does not have window manager. This means that there is no place for app to go when minimised.
You may try the Guacamole parameter "initial-program" instead of "remote-app". This parameter will launch the application immediately upon the connection is established, but the session will also have full desktop from the remote machine.

Adobe connect stuck on connecting

I installed adobe connect and configured on a server and I have a domain, It's all connected and working, I can create meetings and every thing, but when I try to get in to a meeting I can't and adobe connect application stuck on connecting. I opened 443,80,1935 ports on server and I tried connecting even with firewall off but I had no luck, what else should I do on server?
try to delete Internet Explorer cache and cookies . Follow these steps :
1. Open run box by pressing Windows key and “R” at the same time.
Type “inetcpl.cpl” in the run box and hit OK.
Click on General tab and under browsing history section click on “Delete”.
Under Delete Browsing History window, make sure Temporary Internet files, Cookies and History is checked.
Click on Delete and relaunch the meeting room.
Additional Information:
You can try launching the same meeting from other web browsers as well if they are available.

Scripting Website Interaction With Firefox

I would like to script Firefox to do the following:
Open my website in multiple tabs
Perform some action on the loaded site (e.g. click on a button)
Preferably running some script (e.g. Python) and somehow connect to my local Firefox and send some commands over.
I know that I can do (2) on the web console with, e.g. $x('/xpath/to/my/button')[0].click(), so I thought of using Firefox's remote debugging mechanism, but
I'm not sure how to "talk" to Firefox using a script through the debugging port (i.e. what syntax)
Somehow I can't even get the remote debugging port to open.
I've tried the following solutions:
Start Firefox with firefox --start-debugger-server 9000
Enter listen 9000 on the web console
Enable Enable browser chrome and add-on debugging toolboxes and Enable remote debugging
All of the above at the same time
But still couldn't get remote debugging to work (didn't open the expected listening port).
Any idea how I could do the above (with remote debugging or something else)?

Cannot see default web site in iis in windows 10

I got new pc in office and I had installed IIS from windows feature (on/off) and everything appears good.
When I started iis manager I can just see my pc name i.e.
MyPCName (MyDomainName\MyUserName)
thats it. I can't see anything else. Expanding server doesn't show anything. Right clicking on it just giving three options -
Refresh
Rename
Switch to Content View
I can't see any other option. So far I had re-installed it multiple times. and restarted my pc multiple times, but nothing changed.
Can anyone help?

Unable to access localhost from x-ms-webview

I have this code in my WinJS default.html:
<x-ms-webview src="http://localhost/"></x-ms-webview>
<x-ms-webview src="http://display/"></x-ms-webview>
<x-ms-webview src="http://192.168.1.2/"></x-ms-webview>
display is defined in the hosts file:
127.0.0.1 display
and 192.168.1.2 -- the one that is successful -- is another computer on the network.
This is in my appx.manifest:
display and localhost successfully load in IE on the desktop and metro.
My OS is Windows 8.1 Enterprise. I have also completely disabled the Windows Firewall and this has had no effect.
What else can I do?
Microsoft blocks connections to the local machine except while running from the Visual Studio debugger.[1]
There is, however, a workaround tool. Quoting from this post on an MSDN blog:
Immersive applications (and IE11 on the Desktop) run inside isolated processes known as “AppContainers.” By default, AppContainers are forbidden from sending network traffic to the local computer (loopback).
[...]
I have built a GUI tool that allows you to very easily reconfigure an AppContainer to enable loopback traffic. This tool requires Windows 8 and runs on the .NET Framework v4. When launched, the utility scans your computer’s AppContainers and displays them in a list view. Each entry has a checkbox to the left of it, indicating whether the AppContainer may send loopback traffic. You can toggle these checkboxes individually, or use the buttons at the top to set all of the checkboxes at once. Click Save Changes to commit the configuration changes you’ve made, or click Refresh to reload the current configuration settings.
The aforementioned standalone tool is available from here.

Resources