Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cypress plugin seems to override Webstorm run/debug config #73

Open
vanch3d opened this issue Dec 6, 2021 · 1 comment
Open

Cypress plugin seems to override Webstorm run/debug config #73

vanch3d opened this issue Dec 6, 2021 · 1 comment
Labels
base version This issue relates to the Cypress Support plugin (aka base version) only

Comments

@vanch3d
Copy link

vanch3d commented Dec 6, 2021

When I'm right-clicking on a javascript file in the project menu, I can choose to run or debug it, possibly modifying the run configuration:

react-viewranger 06_12_2021 10_47_30 (2)

By default, the file is recognised as a .JS and gives me the node configuration:

react-viewranger – cypress json 06_12_2021 10_34_49

But when the Cypress plugin is activated, every JS files is now offering a Cypress configuration dialog, regardless of whether they are a test file (no .spec. in file name) or even just in the cypress directory

react-viewranger – cypress json 06_12_2021 10_36_04


WebStorm 2021.3
Build #WS-213.5744.224, built on November 27, 2021
Licensed to XXXXXXX
Subscription is active until XXXXXX
Runtime version: 11.0.13+7-b1751.19 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Non-Bundled Plugins:
    net.sjrx.intellij.plugins.systemdunitfiles (0.3.4)
    com.jetbrains.plugins.ini4idea (213.5744.190)
    com.intellij.apacheConfig (213.5744.190)
    mobi.hsz.idea.gitignore (4.3.0)
    com.eny.i18n (2.6.1)
    me.mbolotov.cypress (1.4.2)
    ru.adelf.idea.dotenv (2021.3.0.213)
    DBN (3.2.6411.0)
@vanch3d
Copy link
Author

vanch3d commented Dec 6, 2021

To add to the comment above, Cypress itself runs properly. My alternative is now to edit manually the run config by explicitly choosing the target. I haven't found a workaround, short of disactivating the plugin

@mbolotov mbolotov added the base version This issue relates to the Cypress Support plugin (aka base version) only label Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
base version This issue relates to the Cypress Support plugin (aka base version) only
Projects
None yet
Development

No branches or pull requests

2 participants