How do I fire select event. -> Select event does not fire

select2-help

                            'pluginEvents' => [
                                "change" => "function() { console.log('change'); }", // not works , even if I write select- or select: as a prefix
                                "select2-opening" => "function() { console.log('select2:opening'); }", // working 
                                "select2-open" => "function() { console.log('open'); }",  // working
                                "select2-closing" => "function() { console.log('close'); }", // not working
                                "select2-close" => "function() { console.log('close'); }", // working
                                "select2-selecting" => "function() { log('selecting'); }", // not working on clicks
                                "select2-select" => "function() { console.log('select'); }", not working on clicks
                                "select2-unselecting" => "function() { console.log('unselecting'); }", // can't test due to can't select
                                "select2-unselect" => "function() { console.log('unselect'); }"  // can't test due to can't select
                            ],

I’ve also tried the following without success

$('#foxpostSelect').on('select2:select', function (e) {
  // Do something
console.log('never shown up')
});