Well, that was not exactly what I asked for (although, it was not clearly stated in my question) - but it helped. It is opening layered window and I wanted to have side by side with my vim. But, hurray for me also, I managed with your hint to make it at last:
:silent !start cmd.exe /c -new_console:s python -m ipdb %
This command is opening new tab side by side with vim
Here is what I did in _vimrc:
"python with virtualenv support
let pipenv_venv_path = system('pipenv --venv')
" The above system() call produces a non zero exit code whenever
" a proper virtual environment has not been found.
if shell_error == 0
let venv_path = substitute(pipenv_venv_path, '\n', '', '')
let py_binary = venv_path . '/Scripts/python.exe'
else
let py_binary = 'python.exe'
endif
"map F10 to execute ipdb in separate split Tab in ConEmu:
nnoremap <silent> <expr> <F10> '<ESC>:w!<CR>:!start cmd.exe /c -new_console:s ' . expand(py_binary) . ' -m ipdb %<CR>'
Thanks for your help!