To trigger breakpoint in Javascript, you can add a 'debugger' in your code. For example:
function testing() {
alert(123);
debugger;
alert(456);
}
The debugger will be triggered at runtime.
Showing posts with label debug. Show all posts
Showing posts with label debug. Show all posts
Thursday, August 21, 2014
Thursday, November 3, 2011
Debug mode in Eclipse and Tomcat
For Tomcat:
set JPDA_ADDRESS=8000
set JPDA_TRANSPORT=dt_socket
catalina.bat jpda start
For Eclipse:
Set Connection Port (8000) and Connection Host (localhost) in "Run > Debug Configurations"
Configuration Type: "Remote Java Application"
Set connection port to "8000"
Set connection host to "localhost"
set JPDA_ADDRESS=8000
set JPDA_TRANSPORT=dt_socket
catalina.bat jpda start
For Eclipse:
Set Connection Port (8000) and Connection Host (localhost) in "Run > Debug Configurations"
Configuration Type: "Remote Java Application"
Set connection port to "8000"
Set connection host to "localhost"
Subscribe to:
Posts (Atom)
Upgrade nodejs in conda (from v18 to v26)
If your conda env is nodejs v18, doing a conda install nodejs=26 is likely to create a lot of conflict. Consider remove those conflicting p...
-
When Office2003 couldn't find file SKU011.CAB: regedit -> [HKEY_LOCAL_MACHINE] -> [SOFTWARE] -> [Microsoft] -> [Office] -...
-
The resolution can be changed by editing the BlueStack's registry: HKLM\SOFTWARE\BlueStacks\Guests\Android\FrameBuffer\0\Height and ...
-
Suppose you got a file in Big5 containing some HKSCS characters (e.g. 深水埗, 赤鱲角, etc). When your environment (Ref: Charset.defaultCharset( ) ...