How to run/debug PHPStorm to Test Plugin

Answered

How to run/debug PHPStorm to Test Plugin instead of default intellij IDEA.
Maybe its important:
Im Using :
- Gradle
- Linux
- SDK is already PHPStorm
- Test using RunIDE Gradle-Task

Any help are welcome - Thanks

0
5 comments

Use "alternativeIdePath" pointing to local IDE installation, see https://github.com/JetBrains/gradle-intellij-plugin#rundebug-ide-properties for testing.

 

See "runIde.ideDirectory" description here https://jetbrains.org/intellij/sdk/docs/products/phpstorm/phpstorm.html for running sandbox instance.

1
intellij {
...
version 'LATEST-EAP-SNAPSHOT'
alternativeIdePath '/snap/phpstorm/current'
}

Yes, thanks!

 

 

0
Avatar
Permanently deleted user

Hello I am also trying to develop a new plugin that it will be working on PHPStorm I have checked the documentation and have used this https://github.com/JetBrains/intellij-platform-plugin-template Template

I have the PHP version :

203.7148.74

I have tried everything from adding

alternativeIdePath
runIde {
ideDirectory = "/Users/NAME/Library/Application Support/JetBrains/Toolbox/apps/PhpStorm/ch-0/203.7148.74/PhpStorm.app/Contents"
}
 

 

but every time I got Error, this is my first time that I try to create a phpstorm plugin.
or maybe there is any other template that suite phpstorm not  intellij IDEA.

Please Help ! Thanks

 


 

0

@... please create a new thread and provide all necessary details, like full contents of your Gradle build file or ideally link to repository of your plugin's sources

0

Please sign in to leave a comment.