Skip to content

Commit 3af004e

Browse files
GHMattiGHMatti
authored andcommitted
Implement #117
1 parent 358753b commit 3af004e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/entry/server.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ global.on('onResourceStart', (resourcename) => {
8989
}
9090
});
9191

92+
global.RegisterCommand('mysql:debug', () => {
93+
profiler.config.trace = !profiler.config.trace;
94+
}, true);
95+
9296
global.onNet('mysql-async:request-data', () => {
9397
if (isReady) {
9498
const src = global.source;

0 commit comments

Comments
 (0)