support remote debug
This commit is contained in:
@@ -120,9 +120,8 @@ var switchPeriod = function(per) {
|
||||
return "";
|
||||
}
|
||||
};
|
||||
|
||||
// 本地启动
|
||||
var startContractAtSlave = function() {
|
||||
var startContractAtSlave = function(isDebug) {
|
||||
//this is for fixed contract,not for the unit contract
|
||||
var period = $("#selectDumpPeriod")[0].value;
|
||||
if (period == "选择状态保存模式") {
|
||||
@@ -150,6 +149,10 @@ var startContractAtSlave = function() {
|
||||
}else{
|
||||
}
|
||||
}
|
||||
if (remoteDebugPort.value !='') {
|
||||
request.remoteDebugPort = remoteDebugPort.value;
|
||||
}
|
||||
request.isDebug = isDebug;
|
||||
request.dumpPeriod = dumpPeriod;
|
||||
request.isPrivate = global.ypkIsPrivate;
|
||||
request.owner = global.sm2Key.publicKey;
|
||||
|
||||
Reference in New Issue
Block a user