aboutsummaryrefslog
aboutsummaryrefslogtreecommitdiff
path: root/test/compress/debugger.js
blob: 4dd47ecdf810a168426a0ea16dd9691d3b38ddda (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
keep_debugger: {
    options = {
        drop_debugger: false,
    }
    input: {
        debugger;
    }
    expect: {
        debugger;
    }
}

drop_debugger: {
    options = {
        drop_debugger: true,
    }
    input: {
        debugger;
        if (foo) debugger;
    }
    expect: {
        if (foo);
    }
}