简体   繁体   中英

PyCharm run/debug configuration popup silence

Is there a way to make a PyCharm Run/Debug configuration default, so it doesn't ask you which one you want to use everytime? I only have one for most projects.

I believe I've saved the default configuration by pressing "Save 'main' Configuration' in the drop down. It is no longer transparent. But it still doesn't seem to be the default.

When I open Defaults dropdown there is no way to copy/move a permanent config to the default. So I edit the default Python one by copy/pasting each field over and save.

But still I get the popup...

PyCharm Community 2017.2.2 Windows 10

在此处输入图片说明 在此处输入图片说明

The problem was my keymap. I was using the Visual Studio keymapping, and pressing F5 for debugging. But F5 is not mapped to Run->Debug by default, so the default run/debug configuration was never being invoked.

Totally my mistake for not verifying the keymapping. Though to be honest, for a Visual Studio keymapping, it is weird that F5 is not mapped to debug by default...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM