sap-cap-debugger
Version:
NPX tool for remote debugging SAP CAP applications on Cloud Foundry (CAP v7 and earlier)
44 lines • 1.08 kB
TypeScript
export interface DebugConfig {
appName: string;
debugPort: number;
debuggerType: 'chrome' | 'vscode' | 'both';
autoCleanup: boolean;
verbose: boolean;
}
export interface ProcessInfo {
pid: number;
name: string;
command: string;
}
export interface AppStatus {
name: string;
status: 'started' | 'stopped' | 'unknown';
instances: string;
memory: string;
disk: string;
urls: string[];
}
export interface DebugSession {
appName: string;
nodePid: number;
sshTunnelPid: number;
appProcessPid: number;
debugPort: number;
startTime: Date;
}
export interface CommandResult {
success: boolean;
output: string;
error?: string;
exitCode?: number;
}
export type DebuggerType = 'chrome' | 'vscode' | 'both';
export interface Logger {
info: (message: string) => void;
success: (message: string) => void;
warning: (message: string) => void;
error: (message: string) => void;
step: (message: string) => void;
debug: (message: string) => void;
}
//# sourceMappingURL=index.d.ts.map